FastAPI: Difference between revisions

Content deleted Content added
m Added the `async` keyword to the function which more closely aligns with the example code in the official FastAPI documentation.
Removed casual use of "your" which sounds like it came from some marketing materials.
Line 33:
 
=== OpenAPI Integration ===
FastAPI automatically generates [[OpenAPI Specification|OpenAPI]] documentation for your APIs. This documentation includes both [[Swagger (software)|Swagger UI]] and ReDoc, which provide interactive API documentation that you can use to explore and test your endpoints in real time. This is particularly useful for developing, testing, and sharing APIs with other developers or users.<ref>https://fastapi.tiangolo.com/reference/openapi/docs/</ref>
 
== Example ==