-
Notifications
You must be signed in to change notification settings - Fork 43
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
Default values on @QueryParam #118
Comments
the obvious way to do it if you are willing to do a one liner is to do something like this, with |
Yes, that is what I am doing today. I was more interested in knowing if there is a way to set the |
If you want to do a pr to add it i would accept it :) |
I am really interested in contributing (especially #122), but I am having some problems understanding the setup. Where exactly does the collection of the schemas happen and how do they get collected. It does not seem to be near the route functions which handle the requests. I think I am looking for some basic description which describes the work flow involved in creating the OpenAPI file |
Would it be possible to support default values for optional query params? Either as a value in the
@QueryParam
annotation, or by using a default value from the constructor?The text was updated successfully, but these errors were encountered: