Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Add information on the default OpenAPI files available #3941

Open
JacobCoffee opened this issue Jan 10, 2025 · 2 comments
Open

Docs: Add information on the default OpenAPI files available #3941

JacobCoffee opened this issue Jan 10, 2025 · 2 comments
Labels
Documentation 📚 This is related to documentation Good First Issue This is good for newcomers to take on Help Wanted 🆘 This is good for people to work on

Comments

@JacobCoffee
Copy link
Member

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:

It would be nice to document this when people need them e.g., for Scalar API client's collection import feature

@JacobCoffee JacobCoffee added the Documentation 📚 This is related to documentation label Jan 10, 2025
@github-project-automation github-project-automation bot moved this to Triage in Overview Jan 10, 2025
@JacobCoffee JacobCoffee added Help Wanted 🆘 This is good for people to work on Good First Issue This is good for newcomers to take on labels Jan 10, 2025
@rico33631
Copy link

Hi @JacobCoffee! I'd love to work on this issue.

Would you like the documentation to include details about the structure and usage of the default OpenAPI files (openapi.json, openapi.yaml, openapi.yml)? Also, should I highlight how they integrate with tools like Scalar API Client?

@FHU-yezi
Copy link

FHU-yezi commented Jan 10, 2025

Hi @JacobCoffee! I'd love to work on this issue.

Would you like the documentation to include details about the structure and usage of the default OpenAPI files (openapi.json, openapi.yaml, openapi.yml)? Also, should I highlight how they integrate with tools like Scalar API Client?

IMO I hope we can know about where can we get it, and what will happen if we accidently override it in our code (e.g. defined the same route), intergrating to Scalar etc. is not required while we already got the automatic Scalar API doc, and it will be the default option in 3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation 📚 This is related to documentation Good First Issue This is good for newcomers to take on Help Wanted 🆘 This is good for people to work on
Projects
Status: Triage
Development

No branches or pull requests

3 participants