@ApiParam(hidden = true) will tell Swagger/OpenAPI not to include that
parameter in the spec.
On Friday, November 1, 2019 at 1:57:12 PM UTC-4, Jason Novotny wrote:
>
> Hi,
>
> Given an API requiring authentciation like so:
>
> @Path("/updateUser")
> @POST
> public String updateUser(@Auth UserPrincipal userPrincipal, UserRequest user)
>
> How do I add the appropriate annotations in Swagger so that a client can test
> the API in the Swagger UI?
>
> What I currently get is the attached screenshot
>
> Thanks, Jason
>
>
--
You received this message because you are subscribed to the Google Groups
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dropwizard-user/4a2c65ae-c52d-4575-9dc3-d71559a19659%40googlegroups.com.