Skip to content

codingpop/simple-oas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published