An object can be defined in an OpenAPI spec with properties that are readOnly. It's handy to be able to reference that same object for a requestBody and for a return value (to prevent having to maintain two versions of the same object). But, we're currently templating out inputs for readOnly properties. We should filter out the readOnly properties as we generate inputs.
An object can be defined in an OpenAPI spec with properties that are
readOnly
. It's handy to be able to reference that same object for arequestBody
and for a return value (to prevent having to maintain two versions of the same object). But, we're currently templating out inputs forreadOnly
properties. We should filter out thereadOnly
properties as we generate inputs.