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

Inquiry about custom schema generation in drf-yasg #886

Open
AhnSeongHyun opened this issue Jun 18, 2024 · 0 comments
Open

Inquiry about custom schema generation in drf-yasg #886

AhnSeongHyun opened this issue Jun 18, 2024 · 0 comments

Comments

@AhnSeongHyun
Copy link

I am encountering an issue with the #definitions section generated through custom schema generation in drf-yasg. Currently, the #definitions section is located under a single Schema object. However, this configuration causes errors in other Swagger validators and tools like hey-api Swagger to code generation tool, which fail due to this issue.

image

Is it possible to separate the #definitions section into a separate top-level object rather than under a single Schema object? Are there any settings or options available to achieve this?

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