This package is still under development, so the API will be changed without any notification
This is an implementation of OpenAPI Specification 3.0 object model with some usable functions.
package main
import (
"fmt"
"github.com/nasa9084/go-openapi"
)
func main() {
doc, _ := openapi.LoadFile("path/to/spec")
fmt.Print(doc.Version)
}