A Command Line Interface to save openapi file from a FastAPI application
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file fastapi-openapi-generator-0.1.4.tar.gz
.
File metadata
- Download URL: fastapi-openapi-generator-0.1.4.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d094929abe09a0d734ad7f93361ee801f20673846581df378382064085824331 |
|
MD5 | cd45eb014169cba71e03fb0cd7d444c0 |
|
BLAKE2b-256 | 740a530773ac4d7c1596db95b1897b94aa21a70b540e63b296a324621bdd6ee2 |