-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Execute button non-responsive when using form data input if read only field exists in schema #7242
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
this is most likely related to #6250 the bug also appears for the most recent version hitting execute simply won't work unless |
This happens because your |
@mathis-m, is this why its not working in swagger-ui? the
also the apart from that, user feedback should happen if the request cannot be sent and why. imho at least |
@tfranzel Thanks the research on the spec. Going to look into this and provide a fix the next days. |
Q&A (please complete the following information)
Content & configuration
Steps to re-produce:
POST /sample/
endpointmultipart/form-data
description
You should see that nothing happens.
Example Swagger/OpenAPI definition:
If you remove the
readOnly: true
line from theid
field on theSample
schema, the problem goes away.Describe the bug you're encountering
The execute button is non-responsive when trying to make a POST request to an API with a schema that contains a read only field.
Additional context or thoughts
I suspect that the validation done when hitting Execute is including the
id
read only field in the backround?The text was updated successfully, but these errors were encountered: