You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Desktop (please complete the following information):
OS: macOS
Version 1.1.39
Additional context
From the OAS definition
Relevant only for Schema "properties" definitions. Declares the property as "read only". This means that it MAY be sent as part of a response but SHOULD NOT be sent as part of the request. If the property is marked as readOnly being true and is in the required list, the required will take effect on the response only. A property MUST NOT be marked as both readOnly and writeOnly being true. Default value is false.
The text was updated successfully, but these errors were encountered:
Describe the bug
Oasdiff ignores
readOnly: true
for required fields marking them as breaking changes when they are notTo Reproduce
Steps to reproduce the behavior:
base example
revision example
oasdiff -breaking-only -base base.yaml -revision revision.yaml
Expected behavior
It should not be a diff for POST, only GET and not a breaking change
Screenshots
redocly safely ignores read_only fields
Desktop (please complete the following information):
Additional context
From the OAS definition
The text was updated successfully, but these errors were encountered: