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
Close
Hashes for fastapi-openapi-generator-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d094929abe09a0d734ad7f93361ee801f20673846581df378382064085824331 |
|
MD5 | cd45eb014169cba71e03fb0cd7d444c0 |
|
BLAKE2b-256 | 740a530773ac4d7c1596db95b1897b94aa21a70b540e63b296a324621bdd6ee2 |