-
-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NonReadonly type incorrectly includes readonly fields #1348
Comments
Similar to #828 |
Also related: #826 |
@melloware @052hide It seems more appropriate for Properties marked as readonly should not be included in the RequestBody 🤔 Thanks. |
@ezequiel thoughts on this since you did the original fix? |
ezequiel
added a commit
to ezequiel/orval
that referenced
this issue
May 2, 2024
This reverts commit 5b76e3b. Fixes orval-labs#1348
3 tasks
melloware
pushed a commit
that referenced
this issue
May 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What are the steps to reproduce this issue?
orval.config.ts
.`./sample/openapi.yml'`
`./orval.config.ts`
What happens?
The NonReadonly type incorrectly includes readonly fields as a required fields.
What were you expecting to happen?
I expected the NonReadonly type to exclude readonly fields, similar to the behavior in version 6.25.0.
Any logs, error output, etc?
What versions are you using?
Package Version: v6.26.0
The text was updated successfully, but these errors were encountered: