Skip to content
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

swagger doesn't work when I use app.Party #4

Open
livbarn opened this issue Sep 9, 2019 · 3 comments
Open

swagger doesn't work when I use app.Party #4

livbarn opened this issue Sep 9, 2019 · 3 comments

Comments

@livbarn
Copy link

livbarn commented Sep 9, 2019

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

swagger path is /user/login

@livbarn livbarn closed this as completed Sep 9, 2019
@livbarn livbarn reopened this Sep 9, 2019
@livbarn livbarn changed the title swagger doesnt swagger doesn't work when I use app.Party Sep 9, 2019
@kataras
Copy link
Member

kataras commented Oct 27, 2019

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

@dani-fmena
Copy link

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

@dani-fmena
Copy link

dani-fmena commented Mar 8, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants