Skip to content
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

Transform "void" response types #140

Merged
merged 2 commits into from
Dec 24, 2015

Conversation

gilbode
Copy link
Contributor

@gilbode gilbode commented Nov 11, 2015

This fixes #139. It modifies conversion logic so that void response types will still result in a default response being created when converting to swagger 2.0. Previously void response types would result in no responses attribute for the given operation and an invalid swagger 2.0.

in a default response being created when converting to swagger 2.0.
Previously void response types would result in no responses attribute
for the given operation and an invalid swagger 2.0.
fehguy added a commit that referenced this pull request Dec 24, 2015
@fehguy fehguy merged commit 84d2087 into swagger-api:master Dec 24, 2015
@fehguy fehguy modified the milestone: v1.0.15 Jan 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

swagger 1.2 with "void" response missing "responses" element in transformed swagger 2.0
2 participants