assert

package module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2018 License: MIT Imports: 0 Imported by: 0

README

OpenAPI - Assert

Build Status Codecov branch GoDoc Go Report Card License

Asserting data against OpenAPI docs. This project is inspired by PHP Swagger Assertions.

Instalation

OpenAPI Assert requires Go 1.11 or later.

$ go get github.com/fabiorphp/openapi-assert

If you want to get an specific version, please use the example below:

go get gopkg.in/fabiorphp/openapi-assert.v0

Development

Requirements
  • Install Go
Makefile
# Clean up
$ make clean

# Download project dependencies
$ make configure

# Run tests and generates html coverage file
$ make cover

# Format all go files
$ make fmt

# Run tests
$make test

License

This project is released under the MIT licence. See LICENSE for more details.

Documentation

Overview

Package assert provides methods that allow you to write simple swagger validations.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL