Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastapi-openapi-generator-0.1.4.tar.gz (2.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page