Ligare.web.middleware.openapi
Connexion and OpenAPI-specific integrations for Ligare.web.
Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Classes
Connexion does not set Flask contexts in all cases they may be needed, like in middlewares that execute before ContextMiddleware. |
|
- class Ligare.web.middleware.openapi.FlaskContextMiddleware(app)[source]
Connexion does not set Flask contexts in all cases they may be needed, like in middlewares that execute before ContextMiddleware. This middleware creates the Flask application, request, and session contexts if they are not currently set.
- class Ligare.web.middleware.openapi.MiddlewareRequestDict
-
app:
ConnexionMiddleware
-
client:
list
[str
|int
]
-
extensions:
dict
[str
,dict
[str
,str
]]
-
headers:
list
[tuple
[bytes
,bytes
]]
-
http_version:
str
-
method:
Literal
['GET'
,'POST'
,'PATCH'
,'PUT'
,'DELETE'
,'OPTIONS'
,'HEAD'
,'CONNECT'
,'TRACE'
]
-
path:
str
-
path_params:
dict
[Any
,Any
]
-
query_string:
bytes
-
raw_path:
bytes
-
root_path:
str
-
scheme:
str
-
server:
list
[str
|int
]
-
state:
dict
[Any
,Union
[Any
,dict
[Any
,Union
[Any
, AnyDict]]]]
-
type:
Literal
['http'
]
-
app:
- class Ligare.web.middleware.openapi.MiddlewareResponseDict
-
headers:
list
[tuple
[bytes
,bytes
]]
-
status:
int
-
type:
Literal
['http.response.start'
]
-
headers:
Modules
Extensions for CORS middleware. |