-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Support one of these parameters as required? #207
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
Comments
no, you cannot have conditional |
Thank you very much for your quick response! Yeah, I want it to be conditional required in my Swagger UI. Can I do that? Do you suggest me to set "required" to "true" to all three parameters? |
Yes, I suggest you add some logic inside a fork of swagger-ui, it should be pretty easy to do so.
|
Closing this for now. Please reopen if still an issue. |
I have an app which uses three parameters for a request, the paramType is 'form'. I want it to be at least one of these 3 parameters as required. Does swagger support that?
The text was updated successfully, but these errors were encountered: