Swagger Model Validation flags readOnly properties as missing from request body example #6840
Labels
Central-EngSys
This issue is owned by the Engineering System team.
Spec PR Tools
Tooling that runs in azure-rest-api-specs repo.
The Swagger Model Validation PR pipeline check is flagging as errors readOnly properties with
OBJECT_MISSING_REQUIRED_PROPERTY
because they are not present in the request body example.An example is PR 25444:
The problem likely stems from the (incorrect) assumption that
readOnly
could not be specified onrequired
properties.The text was updated successfully, but these errors were encountered: