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 #1

Closed
darxkies opened this issue Oct 7, 2017 · 2 comments
Closed

Swagger #1

darxkies opened this issue Oct 7, 2017 · 2 comments

Comments

@darxkies
Copy link

darxkies commented Oct 7, 2017

You should consider adding support for Swagger/OpenAPI.

@dhax
Copy link
Owner

dhax commented Oct 9, 2017

Totally agree, Swagger is a nice and helpful tool. Just to be clear, are you only talking about the documentation and client creation features swagger provides or would you also like to generate go server code based on a swagger specification like goswagger does? I don't think this is really an option here because of the structure that is generated.

Then there is also an option to use code annotations to create the swagger documentation instead of writing your own yaml spec, like with this project yvasiyarov/swagger (alpha state though). Not sure what the preferences here are for most...

For now I will just create a yaml specification file for the current api and add it to the project.

@darxkies
Copy link
Author

darxkies commented Oct 9, 2017

I meant the annotations to the service endpoints that can be used to generate the swagger.yaml/json. Beego has something like that implemented.

@dhax dhax closed this as completed Jan 14, 2019
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

2 participants