openapi-schema-validator icon indicating copy to clipboard operation
openapi-schema-validator copied to clipboard

`readOnly` / `writeOnly` support for OpenAPI 3.1

Open fivepapertigers opened this issue 1 year ago • 1 comments

Seems like read/write context-aware validators are only implemented for OpenAPI 3.0. Any reason not to implement a similar interface for 3.1?

For some context, I'm leveraging the openapi-core library and noticing that readOnly and writeOnly work great when validating against 3.0 specs, but do nothing with 3.1 specs.

fivepapertigers avatar May 16 '23 17:05 fivepapertigers