Flask extension to create REST API documented from marshmallow schema or pydantic BaseModel.
Project description
Flask OpenIPA
Flask OpenIPA is a flask extension that can be used to generate OpenAPI specifications from your existing flask code. It provides extension (or you can create yours) to automatically generate OpenAPI models from python objects.
for more information have a look at the documentation
Install
Package installation
You can install this package from PyPI using
pip install flask-openipa
Extra dependencies
To install with extras requirements use
pip install flask-openipa[marshmallow,swagger-ui]
Extra requirements | Usage |
---|---|
pydantic | Used to generate openapi models from marshmallow schemas |
marshmallow | Used to generate openapi models from pydantic BaseModels |
swagger-ui | Needed only if you want to embed swagger ui for your openapi specifications directly in your app. |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flask-openipa-0.0.4.tar.gz
(7.8 kB
view details)
Built Distribution
File details
Details for the file flask-openipa-0.0.4.tar.gz
.
File metadata
- Download URL: flask-openipa-0.0.4.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdae127922a3c1ca42b1cfca928d363d507dd4ff15a3f67c2f533d5e72a5b14d |
|
MD5 | dda6182dc60fca8f844d29824e27a2f8 |
|
BLAKE2b-256 | a695bbd59a72fb13ff351e228d808b04a24bc5b2f84c6b3416a5b46004e740fd |
File details
Details for the file flask_openipa-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: flask_openipa-0.0.4-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3975a587815a5f46ee2ff7301438283f16272a916c0c38242ba828807724bee0 |
|
MD5 | 6c87df14baa5f26a3103dc54abd13f56 |
|
BLAKE2b-256 | 8552c9d93008ddf2c18cc3f0c4b0fe5a354e48354d900e055e0a026a1248fc24 |