OpenAPI
FastAPI - OpenAPI
Enter the following URL in the browser to generate automatically the interactive documentation.
http://127.0.0.1:8000/docs
FastAPI uses Swagger UI to produce this documentation. The browser will display the following −

Click the 'try it out' button and then 'Execute' button that appears afterward.
