Skip to content

Generated Project Should Include Project Details in FastAPI instance #1

@brianobot

Description

@brianobot

The Generated Project should include the user-provided project details, like name, description, in the FastAPI instance. This would ensure that the details showing up in the autogenerated docs match the user expectation.

For example; if the user provides the following details for their projects

  • name: Simple FastAPI Project
  • description: This project is intended to be used as a reference for building with FastAPI

In the main.py file, the

def initiate_app():
    app = FastAPI(
        title="FastAPI Sample Project",
        summary="API for FastAPI Sample Project",
        lifespan=lifespan,
    )

the section shown above should reflect the actual details provided by the user instead of the default generic one.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions