This rule belongs to the
apimatic-preliminary-validation ruleset and states that:
A custom type field/property may be marked as read-only or write-only but not both.
|Message||Field is marked as read-only as well as write-only.|
|Broad Category||Global Types/Models|
|Products Impacted||Code Generation, Developer Experience Portal, API Transformer|
- Marking a field as read-only means that it may be sent as part of a response but should not be sent as part of the request.
- Marking a field as write-only means that it may be sent as part of a request but should not be sent as part of the response.