All Downloads are FREE. Search and download functionalities are using the official Maven repository.

python-fastapi.main.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
# coding: utf-8

{{>partial_header}}

from fastapi import FastAPI

{{#apiInfo}}
{{#apis}}
from {{apiPackage}}.{{classFilename}} import router as {{classname}}Router
{{/apis}}
{{/apiInfo}}

app = FastAPI(
    title="{{appName}}",
    description="{{appDescription}}",
    version="{{appVersion}}",
)

{{#apiInfo}}
{{#apis}}
app.include_router({{classname}}Router)
{{/apis}}
{{/apiInfo}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy