swagger icon indicating copy to clipboard operation
swagger copied to clipboard

swagger doesn't work when I use app.Party

Open livbarn opened this issue 5 years ago • 3 comments

v1 := app.Party("/api/v1") v1.Post("/user/login", ...

swagger path is /user/login

livbarn avatar Sep 09 '19 10:09 livbarn

Hello @CastleSky, can you please provide the exact steps to reproduce?

kataras avatar Oct 27 '19 10:10 kataras

I have the same problem, ... @livbarn @kataras Is there an example with app. Party ?

dani-fmena avatar Mar 07 '21 03:03 dani-fmena

I'm new to this and turns out I'm doing it wrong. The swagger declarative comments for the endpoint doesn't go inside the Party closure, but in each functions party members calls. Check this Link

dani-fmena avatar Mar 08 '21 21:03 dani-fmena