-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Add support for shared models #58
Comments
+1, I think it would be a better choice of spec-design. |
Swagger 2.0 is going to have a slightly different file structure. Since everything could be represented in a single file, it would eliminate the need for repeated model definitions. |
This indeed has been resolved in Swagger 2.0. The specification is now theoretically a single file so all the models are defined in a single place. Furthermore, you can |
Basically #2 in this link:
swagger-api/swagger-js#35 (comment)
This would help keep api docs DRY.
The text was updated successfully, but these errors were encountered: