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

fix: The values for @Produces annotation were not separated by a comma. #445

Conversation

tnmtechnologies
Copy link
Contributor

###Bug found with jaxrs-resteay source code.
Issue #443

Description of the PR

Before adding a new mediaType into the produces list, we put a ["hasMore", "true"] to the last mediaType in order to be sure "hasMore" value is "true" because in some situations, "hasMore" value in the map was null.

@jmini
Copy link
Member

jmini commented Jul 3, 2018

@tnmtechnologies: thank you a lot for this PR! Great job.

I took the liberty to add a unit test that correspond to the case you have fixed (inspired by what you have posted in #443).

I will merge this PR when the CI Job are green.

@jmini jmini added this to the 3.1.0 milestone Jul 3, 2018
@tnmtechnologies
Copy link
Contributor Author

Thank you too. Happy to know it helps.

@jmini jmini merged commit d6e950f into OpenAPITools:master Jul 3, 2018
@tnmtechnologies tnmtechnologies deleted the fix/produces-annotation-multiples-values-not-separated-by-comma branch September 14, 2018 16:29
A-Joshi pushed a commit to ihsmarkitoss/openapi-generator that referenced this pull request Feb 27, 2019
…ed by a comma (OpenAPITools#445)

* fix: The values for @produces annotation were not separated by a comma.
* Add test case for OpenAPITools#443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants