-
-
Notifications
You must be signed in to change notification settings - Fork 238
Closed
Labels
✨ enhancementNew feature or improvementNew feature or improvement
Description
Is your feature request related to a problem? Please describe.
non-nullable read- and write-only fields are required only in either request or response objects. In the generated client they are all required tho.
Describe the solution you'd like
A simple solution would be to make all required read and write-only fields behave as nullable.
Another one would be introduce a base model class with all other fields and writeable & readable subclasses with write and read-only fields respectively.
Additional context
I'd be happy to prepare a PR for the first approach
snopoke
Metadata
Metadata
Assignees
Labels
✨ enhancementNew feature or improvementNew feature or improvement