What this repository contains
A Command Line Interface to save openapi file from a FastAPI application
Installation:
install the package
pip install fastapi-openapi-generator
How to use
fastapi-openapi-gen main:app \
--app-dir= # The path to mounth in the python path to import the module. \
--output-dir= # The path where store the openapi template. \
--file-name= # The name the openapi file will assume.
--mock-class= # Use it to mock a package that is not usefully for the openapi generation and block the fastapi start
Release files for fastapi-openapi-generator 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fastapi-openapi-generator-0.1.4.tar.gz | 2.4 kB | Details |
Release files / fastapi-openapi-generator-0.1.4.tar.gz
| Download URL | fastapi-openapi-generator-0.1.4.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d094929abe09a0d734ad7f93361ee801f20673846581df378382064085824331
|
|
BLAKE2b-256 checksum How to use checksums |
740a530773ac4d7c1596db95b1897b94aa21a70b540e63b296a324621bdd6ee2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2
|