Skip to content

Swagger documentation not getting generated #117

Closed
@jvijaybhaskar

Description

@jvijaybhaskar

Describe the bug or question
The swagger documentation is not appearing while running the app locally.

To Reproduce

  1. Ensure the pre-requisites are up and running (db, redis)

  2. Create and add the suggested configuration in .env file for running the application locally

  3. Start the application locally using the below command and open the following URL in a browser: http://127.0.0.1:8000/docs

    poetry run uvicorn src.app.main:app --reload

Description
On opening the swagger endpoint, the following message is shown on the browser: "No operations defined in spec!"

Screenshots
image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions