ServeHTTP makes Server a drop-in http.Handler.
(w http.ResponseWriter, r *http.Request)
| 345 | |
| 346 | // ServeHTTP makes Server a drop-in http.Handler. |
| 347 | func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { |
| 348 | s.Router.ServeHTTP(w, r) |
| 349 | } |
| 350 | |
| 351 | // OpenAPIYAML renders the generated spec as YAML. Used by the codegen step |
| 352 | // and the drift test — the spec is emitted from the live handlers, never |
no outgoing calls
no test coverage detected