Handler creates http.Handler with routing matching OpenAPI spec.
(si ServerInterface)
| 123 | |
| 124 | // Handler creates http.Handler with routing matching OpenAPI spec. |
| 125 | func Handler(si ServerInterface) http.Handler { |
| 126 | return HandlerWithOptions(si, GorillaServerOptions{}) |
| 127 | } |
| 128 | |
| 129 | type GorillaServerOptions struct { |
| 130 | BaseURL string |
nothing calls this directly
no test coverage detected