MCPcopy
hub / github.com/danielgtaylor/huma / OpenAPI

Method OpenAPI

api.go:262–262  ·  view source on GitHub ↗

OpenAPI returns the OpenAPI spec for this API. You may edit this spec until the server starts.

()

Source from the content-addressed store, hash-verified

260 // OpenAPI returns the OpenAPI spec for this API. You may edit this spec
261 // until the server starts.
262 OpenAPI() *OpenAPI
263
264 // Negotiate returns the selected content type given the client's `accept`
265 // header and the server's supported content types. If the client does not

Callers 15

mainFunction · 0.95
ExampleAutoRegisterFunction · 0.65
DocumentOperationMethod · 0.65
TestFeaturesFunction · 0.65
TestContentTypeFilterFunction · 0.65
TestConvenienceMethodsFunction · 0.65
TestSchemaWithExampleFunction · 0.65
TestNonJSONValidationFunction · 0.65
TestGroupNoPrefixFunction · 0.65
TestGroupEmptyPathFunction · 0.65
TestGroupMultiPrefixFunction · 0.65

Implementers 1

apiapi.go

Calls

no outgoing calls

Tested by 15

ExampleAutoRegisterFunction · 0.52
TestFeaturesFunction · 0.52
TestContentTypeFilterFunction · 0.52
TestConvenienceMethodsFunction · 0.52
TestSchemaWithExampleFunction · 0.52
TestNonJSONValidationFunction · 0.52
TestGroupNoPrefixFunction · 0.52
TestGroupEmptyPathFunction · 0.52
TestGroupMultiPrefixFunction · 0.52
TestGroupCustomizationsFunction · 0.52