I have a related question. Anyone used the dropwizard swagger extension but had Swagger be on the same HTTPS and port as the rest end point?
On Fri, Nov 1, 2019 at 12:30 PM Steve Kradel <[email protected]> wrote: > @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 > <https://groups.google.com/d/msgid/dropwizard-user/4a2c65ae-c52d-4575-9dc3-d71559a19659%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAG_DVpLdpWNpo%2Bay%2Bs13HTs%2BwS9HFyRc_Dv_XxJWj1Zrh3wU%2Bg%40mail.gmail.com.
