Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/neotoolkit/openapi

OpenAPI 3.x parser
https://github.com/neotoolkit/openapi

Last synced: about 1 month ago
JSON representation

OpenAPI 3.x parser

Lists

README

        

# OpenAPI

[![build-img]][build-url]
[![pkg-img]][pkg-url]
[![reportcard-img]][reportcard-url]
[![coverage-img]][coverage-url]
[![version-img]][version-url]

OpenAPI specification object model

## Features
- Easy to integrate.

## Installation
```shell
go get github.com/neotoolkit/openapi
```

## Usage
```go
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][pkg-url].

## License

[MIT License](LICENSE).

[build-img]: https://github.com/neotoolkit/openapi/workflows/build/badge.svg
[build-url]: https://github.com/neotoolkit/openapi/actions
[pkg-img]: https://pkg.go.dev/badge/neotoolkit/openapi
[pkg-url]: https://pkg.go.dev/github.com/neotoolkit/openapi
[reportcard-img]: https://goreportcard.com/badge/neotoolkit/openapi
[reportcard-url]: https://goreportcard.com/report/neotoolkit/openapi
[coverage-img]: https://codecov.io/gh/neotoolkit/openapi/branch/main/graph/badge.svg
[coverage-url]: https://codecov.io/gh/neotoolkit/openapi
[version-img]: https://img.shields.io/github/v/release/neotoolkit/openapi
[version-url]: https://github.com/neotoolkit/openapi/releases

## Sponsors



Sponsored by Evrone