HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
(si ServerInterface, r chi.Router)
| 610 | |
| 611 | // HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux. |
| 612 | func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler { |
| 613 | return HandlerWithOptions(si, ChiServerOptions{ |
| 614 | BaseRouter: r, |
| 615 | }) |
| 616 | } |
| 617 | |
| 618 | func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler { |
| 619 | return HandlerWithOptions(si, ChiServerOptions{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…