api2swagger
api2swagger copied to clipboard
Separate complex objects out into a definitions section
Hi! I just tried using your generator for some Swagger doc generation (super glad to find you started this! :smile: ). 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?