-
Notifications
You must be signed in to change notification settings - Fork 222
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
Support for non-required tuple type path parameters #479
Comments
Hey, Great that you have enjoyed. It should work, but there might be a bug that it behaves differently. I need to check this from the code and see what is actually going on to be sure. I'll get back to this when I have time. |
As of these PRs (#525, #498) the definition of
This implies that manual tuple style path parameters are always |
Ok I see, thanks for looking into it 👍 |
So if I'm understanding you correctly, it will be possible to define optional variables using the both the |
Yes, currently with the latest master and with next release when released. |
Cool, thanks! |
Hi!
First of all, thanks for maintain this great library! Super useful 🙇
I see that it is possible to generate non-required parameters by using the
Option
type, when defining parameters like this:However, it does not seem to work for manually documented parameters. I have a macro invocation that looks like this:
At least in my generated UI
bar
remains required 🙂Am I missing something? Couldn't find anything in the docs about this, so thought it might just be something that still needs implementing?
The text was updated successfully, but these errors were encountered: