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

Missing expand query parameter when generating OpenAPI schema #143

Open
baojd42 opened this issue Nov 22, 2024 · 0 comments
Open

Missing expand query parameter when generating OpenAPI schema #143

baojd42 opened this issue Nov 22, 2024 · 0 comments

Comments

@baojd42
Copy link

baojd42 commented Nov 22, 2024

Currently there is an approach to automatically generate a OpenAPI schema using drf_spectacular, in which expand and omit are included in the query parameters. See #100

I tried this method, it works nicely for list methods, but for retrieve methods, there is still no expand or omit in the query parameters.

Is there anything I can do to make it also work for retrieve methods?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant