Skip to content

karupanerura/oapit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oapit

OpenAPI 3.0 CLI toolkit

Usage

$ oapit validate schema -f schema.yml
$ oapit -f schema.yml validate payload -s MySchema ./payload.json

Install

Pre-built binaries are available on: https://github.com/karupanerura/oapit/releases/tag/v0.0.3

$ VERSION=0.0.3
$ curl -sfLO https://github.com/karupanerura/oapit/releases/download/v${VERSION}/oapit_${VERSION}_$(go env GOOS)_$(go env GOARCH).tar.gz
$ tar zxf oapit_${VERSION}_$(go env GOOS)_$(go env GOARCH).tar.gz
$ install -m 0755 oapit $PREFIX
$ rm oapit oapit_${VERSION}_$(go env GOOS)_$(go env GOARCH).tar.gz