-
-
Notifications
You must be signed in to change notification settings - Fork 137
Library does not support optional request body #324
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
Hi @stojan-jovic thanks for reporting the issue. I will try to fix it today. |
Thank you very much for the so quick fix! |
@p1c2u Hm, now we have another issue, when |
@p1c2u Actually, now validation of request body not working at all... Not sure is that because of this fix, or some of previous releases brought this issue (I updated from |
@stojan-jovic interesting. |
@p1c2u False alarm, really sorry for that. Everything working fine now! I was looking at wrong swagger spec file while testing first time. Thank you one more time! |
So, if we have definition for
requestBody
(e.g. forPOST
request) like this:and if we try to make request without body, it will produce error like this:
even it should allow it because of
required: false
.The text was updated successfully, but these errors were encountered: