-
-
Notifications
You must be signed in to change notification settings - Fork 528
--properties-required-by-default
and --default-non-nullable
flags do not work
#1651
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
Comments
I tried 7.0.0-next.11 in the hopes of this being fixed in the new version, but same problem. Is there an older version where this works? |
This is still not working for |
In 7.0.1 I'm experiencing a related issue - the option -properties-required-by-default has no effect. It doesn't hang the CLI as in the original comment.
outputs:
|
This issue is stale because it has been open for 90 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
Just tried it with 7.4.1 and both flags work for me. I think this can be closed. |
In 7.4.3, the |
Description
The
--properties-required-by-default
and--default-non-nullable
flags do not work. If you include these flag in the CLI, the execution hangs forever. From this issue it also seems like the same thing is happening with--path-params-as-types
. If you remove these flags, the execution works fine.openapi-typescript
6.7.5
18.18.2
macOS 14.0
Reproduction
Run any generation command with
--properties-required-by-default
,--default-non-nullable
or--path-params-as-types
flags, and you will see the execution hangs.Checklist
npx @redocly/cli@latest lint
)The text was updated successfully, but these errors were encountered: