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.
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?
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.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?