Skip to content

Fix NPE when importing Swagger 2.0 without responses (restlet/apispark#4075)#1102

Merged
quilicicf merged 1 commit into
restlet:apispark-3.10from
quilicicf:apispark-3.10_4075_swagger2_empty_responses
Jun 17, 2015
Merged

Fix NPE when importing Swagger 2.0 without responses (restlet/apispark#4075)#1102
quilicicf merged 1 commit into
restlet:apispark-3.10from
quilicicf:apispark-3.10_4075_swagger2_empty_responses

Conversation

@quilicicf

Copy link
Copy Markdown
Contributor

Scope:

  • prevent NPE when a Swagger 2.0 with an operation not containing any response is translated

Bonus scope:

  • enhance message when an invalid URL is passed to Endpoint's constructor Endpoint(String url)
  • replace all HashMap to LinkedHashMap to preserve orders in our definition languages java beans

@boillodmanuel

Copy link
Copy Markdown
Contributor

Ready for merge 👍

quilicicf pushed a commit that referenced this pull request Jun 17, 2015
…mpty_responses

Fix NPE when importing Swagger 2.0 without responses (restlet/apispark#4075)
@quilicicf quilicicf merged commit e55fe09 into restlet:apispark-3.10 Jun 17, 2015
@quilicicf quilicicf deleted the apispark-3.10_4075_swagger2_empty_responses branch June 17, 2015 12:28
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.

2 participants