Skip to content

Conversation

@ctuckz
Copy link

@ctuckz ctuckz commented Sep 17, 2017

Added support for json-like media types that use the +json suffix, such as application/problem+json or application/hal+json.

  • Schemas are now generated for request and response bodies when the content type includes "+json"
  • A consumes section containing the content-type of the request body is added to the Swagger output
  • Fixed potential issues due to casing of keys in headerKeyValues

I originally tried to handle the case where no content-type header was included along with a request body, but the change was too out of scope. #8 was created to address it.

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.

1 participant