-
-
Notifications
You must be signed in to change notification settings - Fork 508
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
If all parameters are optional, make the top level object optional too #2044
Comments
@Stono I had a look at this, it's not going to be a small change set. You'd need to create a separate type for the whole options object, make it optional, and destructure inside the function body. That being said, I will let you know if I have any updates |
Oh, amazing @mrlubos - i'll give that a go, thank you |
@Stono got rid of generics by default as they were a breaking change with other libraries. If you want them, the command is openapi --serviceResponse generics |
When you have a single option, that's optional (for example
namespace
here), it'd be good if the whole options object was optional.Currently you have to do
.list({})
The text was updated successfully, but these errors were encountered: