Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/utahta/swagger-doc

Easy visualize swagger.json using swagger-ui and redoc
https://github.com/utahta/swagger-doc

document go swagger

Last synced: 2 months ago
JSON representation

Easy visualize swagger.json using swagger-ui and redoc

Awesome Lists containing this project

README

        

# swagger-doc

swagger-doc is tool of easy visualize your swagger.json using swagger-ui and redoc.

## Install

```bash
go get -u github.com/utahta/swagger-doc/cmd/swagger-doc
```

## Usage

### Local file

```bash
swagger-doc -s /path/to/swagger.json
```
then open browser.

### URL

```bash
swagger-doc -s http://localhost/swagger.json
```
then open browser.

## Contributing

1. Fork it ( https://github.com/utahta/swagger-doc/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request