Skip to content

OpenAPI

API parameters

Flask-RESTAPI automatically generates an OpenAPI documentation. And you can set the parameters of Open API Sepc through Flask config.


OPENAPI_VERSION
This string MUST be the semantic version number of the OpenAPI Specification version that the OpenAPI document uses.
API_TITLE
Title of the API.
API_VERSION
The version of the OpenAPI document.
SPEC_URL
Spec json url.
SWAGGER_UI_URL
Swagger ui url.