Skip to content

martingreber/swagger-cli-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swagger-cli Docker image

Overview

swagger-cli distributed as a Docker container.

Usage

$ ./swagger-cli.sh validate testfiles/petstore.yaml
testfiles/petstore.yaml is valid

Or

$ docker run --rm -v ${PWD}:/spec swagger-cli validate testfiles/petstore.yaml

Building

This project uses bats for testing. To install bats:

$ sudo apt install bats

To build:

$ make docker

Testing

This project uses bats for testing. To run the tests:

$ sudo apt install bats
$ bats test.bats
 ✓ validate petstore.yaml

1 test, 0 failures

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published