Skip to content

Separate complex objects out into a definitions section #1

Description

@bpkennedy

Hi! I just tried using your generator for some Swagger doc generation (super glad to find you started this! 😄 ). Although the generated document passes validation in the Swagger Editor (I tested with http://httpbin.org/get and picked defaults), it also does not quite adhere to their spec.

Specifically, the Swagger 2.0 specification requires those complex objects to be separated out into a definitions section, and then referenced in the request/response section.

Can I request that you enhance the generator to support this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions