OpenAPIYAML renders the generated spec as YAML. Used by the codegen step and the drift test — the spec is emitted from the live handlers, never hand-authored.
()
| 352 | // and the drift test — the spec is emitted from the live handlers, never |
| 353 | // hand-authored. |
| 354 | func (s *Server) OpenAPIYAML() ([]byte, error) { |
| 355 | return s.API.OpenAPI().YAML() |
| 356 | } |
| 357 | |
| 358 | // registerOperations wires every ported Huma operation. As resources move |
| 359 | // off the legacy mux they are added here and removed from the legacy |
no outgoing calls