swagger-compare

0.1.4 • Public • Published

swagger-compare

makes use of x-replaced-by and x-remove-on provide a concise summary of api changes.

Platform Badges
License GitHub license
Circle CI CircleCI
Code Coverage Code Coverage
Documantation Documentation Status
NPM npm version npm downloads
Docker Docker Size Docker Pulls
npm install -g swagger-compare
swagger-compare https://raw.githubusercontent.com/kjjuno/swagger-compare/master/test/petstore.yaml https://raw.githubusercontent.com/kjjuno/swagger-compare/master/test/petstore-new.yaml
version: 1.0.0
deprecated:
  paths:
    /v1/pet:
      post:
        x-replaced-by:
          path: /v2/pet
          verb: post
        x-remove-on: undefined
      put:
        x-replaced-by: undefined
        x-remove-on: 3/4/2019
    /v2/pet:
      post:
        x-replaced-by:
          path: /v3/pet
          verb: post
        x-remove-on: 2/13/2019

Package Sidebar

Install

npm i swagger-compare

Weekly Downloads

1

Version

0.1.4

License

MIT

Unpacked Size

73.7 kB

Total Files

29

Last publish

Collaborators

  • kjjuno