自定义模板

Since version v4, a plugin repository has been added, supporting the following UI templates:

pip install -U flask-openapi3[swagger,redoc,rapidoc,rapipdf,scalar,elements]

Manual Installation:

1
2
3
4
5
6
pip install -U flask-openapi3-swagger
pip install -U flask-openapi3-redoc
pip install -U flask-openapi3-rapidoc
pip install -U flask-openapi3-rapipdf
pip install -U flask-openapi3-scalar
pip install -U flask-openapi3-elements

For more UI templates, please check the plugin repository.