-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Use Cases or Problem Statement
Swagger OpenAPI v3 supports readOnly and writeOnly indicators https://swagger.io/docs/specification/v3_0/data-models/data-types/#objects.
However it seems the codegen does not yet support these.
Proposal
Handle the readOnly and writeOnly attributes in the following way:
readOnly-> "computed"readOnly&default-> "computed"readOnly&required-> "computed"writeOnly-> "optional"writeOnly&default-> "optional"writeOnly&required-> "required"
Additional Information
https://swagger.io/docs/specification/v3_0/data-models/data-types/#objects
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
