Skip to content

tjbrockmeyer/oas

Repository files navigation

oas - Open API Specification

GoDoc Build Status codecov

Golang Open API Specification Version 3 simple API setup package
Create json endpoint specs inline with your code implementation.
This package specifically serves and accepts the application/json content type.

UI is created using SwaggerUI.

The example below will create an API at http://localhost:5000 that has 1 endpoint, GET /search under 2 different tags.

For API documentation, view the GoDoc Page.

Example:

See this example project.