MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / OpenAPIYAML

Method OpenAPIYAML

internal/httpapi/httpapi.go:354–356  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

352// and the drift test — the spec is emitted from the live handlers, never
353// hand-authored.
354func (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

Callers 3

renderSpecFunction · 0.80
TestSpecGoldenNoDriftFunction · 0.80

Calls

no outgoing calls

Tested by 3

renderSpecFunction · 0.64
TestSpecGoldenNoDriftFunction · 0.64