litestar-org/litestar
Vedi su GitHubDocs: Add information on the default OpenAPI files available
Open
#3941 aperta il 10 gen 2025
Documentation :books:Good First IssueHelp Wanted :sos:
Metriche repository
- Star
- (8243 star)
- Metriche merge PR
- (Merge medio 2g 22h) (53 PR mergiate in 30 g)
Descrizione
Summary
In https://docs.litestar.dev/latest/usage/openapi we don't really specifically say anything about the availability of $openapi_path/openapi.{json,yaml,yml} except in 2 places, 1 of which says it is deprecated:
- https://docs.litestar.dev/latest/usage/openapi/ui_plugins.html#providing-a-subclass-of-openapicontroller (but just glossing over)
- https://docs.litestar.dev/latest/usage/openapi/ui_plugins.html#configuring-the-openapi-root-path (but just glossing over)
It would be nice to document this when people need them e.g., for Scalar API client's collection import feature