OpenAPI import not respecting Read-Only Properties
For some endpoints, I have the same schema for GET and POST and use the property readOnly: true to determine if POST property should be shown or not. See readOnly https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md
It looks like Postman is not respecting the readOnly property and is displaying all properties in the schema.
@keth Thanks for reporting the issue. Can you provide the spec file from which you are getting this error?
Resolved in 7.7.0!
I see this in 10.14.4. readOnly properties show up in POST request body.
Also still seeing this in 11.1.25
@asafd1 @markross Thanks for reporting the issue! I was able to reproduce the same. We'll be working on the fix and update here once we have fix for this.
@asafd1 @markross We've added support for readOnly and writeOnly properties with latest version of Postman App v11.10.0. Do give it a try and let us know if you face any further issues with the Import flow for such OpenAPI definitions.