Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bobvanderlinden/swagger-scrubber

Remove invalid entries from Swagger specification files
https://github.com/bobvanderlinden/swagger-scrubber

Last synced: 7 days ago
JSON representation

Remove invalid entries from Swagger specification files

Awesome Lists containing this project

README

        

# swagger-scrubber

[![Greenkeeper badge](https://badges.greenkeeper.io/bobvanderlinden/swagger-scrubber.svg)](https://greenkeeper.io/)

A command-line tool to remove invalid definitions from a Swagger specification.

## Installation

## Usage

```
swagger-scrubber scrub --from swagger_2 swagger.json
```

This will output a valid Swagger specification on `STDOUT` and outputs the validation errors that were found in `swagger.json` to `STDERR`.