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

[Java][Improvement] Add an option to skip required parameters check #5831

Open
a-en opened this issue Jun 12, 2017 · 1 comment
Open

[Java][Improvement] Add an option to skip required parameters check #5831

a-en opened this issue Jun 12, 2017 · 1 comment

Comments

@a-en
Copy link

a-en commented Jun 12, 2017

Description

In the specification, I have 2 parameters marked as 'required' for the particular api call. In fact, just on of them should be provided - either first one or second. It doesn't seem to be possible to make the appropriate changes to specification now (issue). Is it possible to add the config option, which would allow to skip block related to 'check if all required parameters provided or throw exception'?

Swagger-codegen version

2.2.2

@wing328
Copy link
Contributor

wing328 commented Jun 18, 2017

@a-en would the following feature (not yet implemented for Java) help in your case?

#5530

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants