Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Additional parameters to test additional cases. #4417

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

Open
antihax wants to merge 3 commits into swagger-api:master
base: master
Choose a base branch
Loading
from antihax:AdditionalParameters
Open

Additional parameters to test additional cases. #4417

antihax wants to merge 3 commits into swagger-api:master from antihax:AdditionalParameters

Conversation

@antihax
Copy link
Contributor

@antihax antihax commented Dec 17, 2016

PR checklist

  • Read the contribution guildelines.
  • [!!!] Ran the shell/batch script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates)
  • Filed the PR against the correct branch: master for non-breaking changes and 2.3.0 branch for breaking (non-backward compatible) changes.

Description of the PR

Adds some observed cases that cause compile errors on some clients.

  1. required queryParam of array integers
  2. optional queryParam of array integers
  3. optional bodyParam

This will legitimately break some of the affected clients.

 - Required []int64 parameter in queryParams
 - Optional []int64 parameter in queryParams
 - Optional body parameter.
Copy link
Contributor

wing328 commented Dec 20, 2016

@antihax thanks for adding more test cases. I think what I will do is to cherry-pick the 1st commit as not all generators are ready for the new test cases.

Copy link
Contributor Author

antihax commented Dec 20, 2016

I was trying to determine the best way to handle this since I do not use many of the languages it would break. Cherry picking sounds good.

@wing328 wing328 added this to the v2.3.0 milestone Feb 2, 2017
@wing328 wing328 changed the base branch from 2.3.0 to master September 21, 2017 06:51
@wing328 wing328 modified the milestones: v2.3.0, v2.4.0 Dec 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

v2.4.0

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /