-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
read only fields appear in JSON request samples for POST request #142
Comments
Which version of ReDoc you use? This issue should to be fixed since version |
I am using https://github.com/Rebilly/generator-openapi-repo for my project here https://github.com/andrewjtech123/rebilly-validschema How can i check my version ? Is there a procedure documented somewhere for upgrades? |
my script is pointing to latest so it should be working ?
|
@andrewjtech123, I've just checked your docs and can confirm the issue. |
thank you ! Also root of the object is not displayed. If user were to copy/paste this into body of a api client request it would fail without the root object of the JSON. |
Fixed now. Will be available with the next release. |
New version |
does this also fix the issue with the root of the object not being displayed? "Also root of the object is not displayed. If user were to copy/paste this into body of a api client request it would fail without the root object of the JSON." |
no |
Hi,
For our POST request that creates an object we are passing the object as part of the Body of the request. The fields for the request body correctly appear in list of body parameters. However, JSON request example includes read only fields which should not be sent as part of POST request.
The text was updated successfully, but these errors were encountered: