Skip to content

ribice/golang-swaggerui-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golang-swaggerui-example

Build Status codecov Go Report Card

Golang-swaggerui-example is an example repository for setting up API documentation using SwaggerUI in your Golang project. Detailed instruction is available on my blog.

API Interaction

SwaggerUI is accessible via accessing localhost:8080/swaggerui/ Detailed explanation on how to serve /swaggerui is explained in THIS blog post.

NOTE

Swagger.json should not be in your git repository, instead it should be generated by a CI tool.

The code provided here doesn't follow any standards. It is intended only to demonstrate go-swagger spec generation in a simple go project. Do not use this project structure/implementation as a reference for your Golang REST projects.

License

golang-swaggerui-example is licensed under the MIT license. Check the LICENSE file for details.

Author

Emir Ribic

About

SwaggerUI generation example for Golang

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors