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

Reuse response components in the OAS generation #55

Open
annashamray opened this issue Dec 11, 2024 · 0 comments
Open

Reuse response components in the OAS generation #55

annashamray opened this issue Dec 11, 2024 · 0 comments

Comments

@annashamray
Copy link

In the drf-yasg custom scheme generation Response components (error responses) were declared ones and then reuse with refs.
Here is the old PR where it was implemented - VNG-Realisatie#130

This feature wasn't implemented when drf-yasg was replaced with drf-spectacular, since it's not critical. But it would be nice to have it to make the OAS a little more compact.

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

No branches or pull requests

1 participant