OpenAPI models
¶
生成されたOpenAPIを生成および検証するために使用されるOpenAPI Pydanticモデル。
fastapi.openapi.models ¶
SecurityScheme module-attribute
¶
SecurityScheme = Union[
APIKey, HTTPBase, OAuth2, OpenIdConnect, HTTPBearer
]
BaseModelWithConfig ¶
Contact ¶
基底クラス: BaseModelWithConfig
License ¶
基底クラス: BaseModelWithConfig
Info ¶
基底クラス: BaseModelWithConfig
ServerVariable ¶
基底クラス: BaseModelWithConfig
Server ¶
基底クラス: BaseModelWithConfig
Discriminator ¶
XML ¶
基底クラス: BaseModelWithConfig
ExternalDocumentation ¶
Schema ¶
基底クラス: BaseModelWithConfig
vocabulary class-attribute
instance-attribute
¶
vocabulary = Field(default=None, alias='$vocabulary')
dynamicAnchor class-attribute
instance-attribute
¶
dynamicAnchor = Field(default=None, alias='$dynamicAnchor')
dynamicRef class-attribute
instance-attribute
¶
dynamicRef = Field(default=None, alias='$dynamicRef')
example class-attribute
instance-attribute
¶
example = None
OpenAPI 3.1.0 では JSON Schema 2020-12 を使用するようになったため非推奨になりましたが、依然としてサポートされています。代わりに例を使用してください。
Example ¶
ParameterInType ¶
Encoding ¶
基底クラス: BaseModelWithConfig
MediaType ¶
基底クラス: BaseModelWithConfig
ParameterBase ¶
基底クラス: BaseModelWithConfig
Parameter ¶
ベース: ParameterBase
Header ¶
ベース: ParameterBase
RequestBody ¶
基底クラス: BaseModelWithConfig
Link ¶
基底クラス: BaseModelWithConfig
Response ¶
基底クラス: BaseModelWithConfig
Operation ¶
基底クラス: BaseModelWithConfig
PathItem ¶
基底クラス: BaseModelWithConfig
SecuritySchemeType ¶
SecurityBase ¶
基底クラス: BaseModelWithConfig
APIKeyIn ¶
APIKey ¶
ベース: SecurityBase
HTTPBase ¶
ベース: SecurityBase
OAuthFlow ¶
基底クラス: BaseModelWithConfig
OAuthFlows ¶
基底クラス: BaseModelWithConfig
OAuth2 ¶
ベース: SecurityBase
OpenIdConnect ¶
ベース: SecurityBase
Components ¶
基底クラス: BaseModelWithConfig
Tag ¶
基底クラス: BaseModelWithConfig
OpenAPI ¶
基底クラス: BaseModelWithConfig