MCPcopy
hub / github.com/fastapi/fastapi / OpenAPI

Class OpenAPI

fastapi/openapi/models.py:419–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417
418
419class OpenAPI(BaseModelWithConfig):
420 openapi: str
421 info: Info
422 jsonSchemaDialect: str | None = None
423 servers: list[Server] | None = None
424 # Using Any for Specification Extensions
425 paths: dict[str, PathItem | Any] | None = None
426 webhooks: dict[str, PathItem | Reference] | None = None
427 components: Components | None = None
428 security: list[dict[str, list[str]]] | None = None
429 tags: list[Tag] | None = None
430 externalDocs: ExternalDocumentation | None = None
431
432
433Schema.model_rebuild()

Callers 1

get_openapiFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…