Skip to content

Inquiry about custom schema generation in drf-yasg #886

Description

@AhnSeongHyun

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions