Models
APISpec
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#openapi-object
Source code in flask_openapi3/models/__init__.py
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
|
OAuthConfig
⚓︎
Bases: BaseModel
https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/oauth2.md#oauth-20-configuration
Source code in flask_openapi3/models/__init__.py
73 74 75 76 77 78 79 80 81 82 83 84 85 |
|
Callback = Dict[str, PathItem]
module-attribute
⚓︎
Components
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#components-object
Source code in flask_openapi3/models/components.py
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|
Contact
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#contact-object
Source code in flask_openapi3/models/contact.py
9 10 11 12 13 14 15 16 17 18 19 20 |
|
Discriminator
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#discriminator-object
Source code in flask_openapi3/models/discriminator.py
9 10 11 12 13 14 15 16 17 18 19 |
|
Encoding
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#encoding-object
Source code in flask_openapi3/models/encoding.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
|
Example
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#example-object
Source code in flask_openapi3/models/example.py
9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
ExternalDocumentation
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#external-documentation-object
Source code in flask_openapi3/models/external_documentation.py
9 10 11 12 13 14 15 16 17 18 19 |
|
FileStorage
⚓︎
Bases: FileStorage
An uploaded file included as part of the request data.
Source code in flask_openapi3/models/file.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
Header
⚓︎
Bases: Parameter
https://spec.openapis.org/oas/v3.1.0#header-object
Source code in flask_openapi3/models/header.py
10 11 12 13 14 15 16 17 18 19 20 |
|
Info
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#info-object
Source code in flask_openapi3/models/info.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
License
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#license-object
Source code in flask_openapi3/models/license.py
9 10 11 12 13 14 15 16 17 18 19 20 |
|
Link
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#link-object
Source code in flask_openapi3/models/link.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
|
MediaType
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#media-type-object
Source code in flask_openapi3/models/media_type.py
14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
OAuthFlow
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#oauth-flow-object
Source code in flask_openapi3/models/oauth_flow.py
9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
OAuthFlows
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#oauth-flows-object
Source code in flask_openapi3/models/oauth_flows.py
11 12 13 14 15 16 17 18 19 20 21 22 23 |
|
Operation
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#operation-object
Source code in flask_openapi3/models/operation.py
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|
Parameter
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#parameter-object
Source code in flask_openapi3/models/parameter.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
|
ParameterInType
⚓︎
Bases: str
, Enum
The place Parameters can be put when calling an Endpoint
Source code in flask_openapi3/models/parameter_in_type.py
7 8 9 10 11 12 13 |
|
PathItem
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#path-item-object
Source code in flask_openapi3/models/path_item.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
|
Paths = Dict[str, PathItem]
module-attribute
⚓︎
Reference
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#reference-object
Source code in flask_openapi3/models/reference.py
7 8 9 10 11 12 13 14 15 16 |
|
RequestBody
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#request-body-object
Source code in flask_openapi3/models/request_body.py
11 12 13 14 15 16 17 18 19 20 21 22 |
|
Response
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#response-object
Source code in flask_openapi3/models/response.py
14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
Responses = Dict[str, Union[Response, Reference]]
module-attribute
⚓︎
Schema
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#schema-object
Source code in flask_openapi3/models/schema.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
|
SecurityRequirement = Dict[str, List[str]]
module-attribute
⚓︎
SecurityScheme
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#security-scheme-object
Source code in flask_openapi3/models/security_scheme.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
|
Server
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#server-object
Source code in flask_openapi3/models/server.py
11 12 13 14 15 16 17 18 19 20 21 22 |
|
ServerVariable
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#server-variable-object
Source code in flask_openapi3/models/server_variable.py
9 10 11 12 13 14 15 16 17 18 19 20 |
|
StyleValues
⚓︎
Bases: str
, Enum
Source code in flask_openapi3/models/style_values.py
7 8 9 10 11 12 13 14 |
|
Tag
⚓︎
Bases: BaseModel
https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#tag-object
Source code in flask_openapi3/models/tag.py
8 9 10 11 12 13 14 15 16 17 18 19 |
|
ValidationErrorModel
⚓︎
Bases: BaseModel
Source code in flask_openapi3/models/validation_error.py
9 10 11 12 13 14 15 16 17 18 |
|
XML
⚓︎
Bases: BaseModel
https://spec.openapis.org/oas/v3.1.0#xml-object
Source code in flask_openapi3/models/xml.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|