Awesome Go

openapi

CategoryMiscellaneous
SubcategoryThese libraries were placed here because none of the other categories seemed to fit.
Stars11

OpenAPI 3.x parser.

About openapi

OpenAPI

build-img pkg-img reportcard-img coverage-img version-img

OpenAPI specification object model

Features

  • Easy to integrate.

Installation

go get github.com/neotoolkit/openapi

Usage

package main

import (
	"fmt"
	"io/ioutil"
	"log"

	"github.com/neotoolkit/openapi"
)

func main() {
	file, err := ioutil.ReadFile("openapi.yml")
	if err != nil {
		log.Fatalln(err)
	}

	oapi, err := openapi.Parse(file)
	if err != nil {
		log.Fatalln(err)
	}
	
	fmt.Println(oapi.OpenAPI)
}

Documentation

See these docs.

License

MIT License.

Sponsors

Frequently Asked Questions

What is openapi?

openapi is a Miscellaneous library for the Go programming language. OpenAPI 3.x parser.

How do I install openapi?

Install openapi with the Go module system using `go get neotoolkit/openapi`. Check the repository for the current installation instructions.

What category does openapi belong to?

openapi is listed under Miscellaneous, specifically These libraries were placed here because none of the other categories seemed to fit..

← Back to These libraries were placed here because none of the other categories seemed to fit.