simple-oas

command module
v0.0.0-...-fe2e9e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 10 Imported by: 0

README

simple-oas

A dead-simple OpenApi docs server. By default, it uses Swagger UI to present the docs, but it also suports Redoc.

Compatibilty

This server supports OpenAPI specification version 2 or later.

Install

The easiest way to install is using go install

go install github.com/codingpop/simple-oas@latest

Usage

simple-oas
  -spec string
    	A file path or url to the json or yml OpenAPI spec (default "./spec.yml")
  -doc string
    Presentation UI (can be "redoc" or "swagger". Default "swagger")
  -host string
    	Host IP to serve using (default "0.0.0.0")
  -port int
    	Port to serve http over (default 9000)

License & Contributing

Inspiration

This project was inspired by simple-swag

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL