package
0.0.0-20181003212607-f42d3a4bbbbc
Repository: https://github.com/zpatrick/fireball.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

Swagger

This example application adds Swagger documentation to the API example.

Run Example

From this directory, run:

go run main.go

By default, if you navigate to http://localhost:9090/api/, it will serve Swagger's default Petstore example. To use the local configuration, enter http://localhost:9090/swagger.json into the Explore box on the top right of the page, or navigate to http://localhost:9090/api/?url=http://localhost:9090/swagger.json

Getting Swagger UI

The Swagger UI in the static/swagger-ui/dist directory was cloned from the Swagger UI Repo. The dist directory holds the required files to needed to serve the Swagger UI.