Handler creates http.Handler with routing matching OpenAPI spec.
(si ServerInterface)
| 121 | |
| 122 | // Handler creates http.Handler with routing matching OpenAPI spec. |
| 123 | func Handler(si ServerInterface) http.Handler { |
| 124 | return HandlerWithOptions(si, StdHTTPServerOptions{}) |
| 125 | } |
| 126 | |
| 127 | // ServeMux is an abstraction of [http.ServeMux]. |
| 128 | type ServeMux interface { |
no test coverage detected