column-st/FastAPI OpenAPI Specs Generator

Generates the OpenAPI specs file for a FastAPI project.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
installDependenciesCommand to use to install dependencies before running FastAPI application. This command gets ran as a standard shell command. nopip install -r requirements.txt
moduleDirThe directory in which the FastAPI Python app lives. This should be the first folder in your project with a '__init__.py' file. Needed to do 'from project import app' in subsequent steps. yes
fileNameThe file in which your FastAPI application gets initialized from. yesmain.py
appNameThe name of the FastAPI object inside your '{moduleDir}/{fileName}.py'. This is used to do 'from {moduleDir}.{fileName} import {appName}'. yesapp
fastapiVersioningOnly use this if your application uses the 'fastapi-versioning' package. If the 'fastapi-versioning' is being used each version of your application has its own individual FastAPI app that is ran in conjunction. This variable defines which FastAPI API to use to generate the client. Use the package's VersionedFastAPI.prefix_format string, something like 'v{number}' typically (e.g. 'v1'). no
outputNameThe name of the output file. Do not include extension.yesopenapi
outputExtensionOutput extension. May either be yaml or json.yesyaml

no outputs