Coder Social home page Coder Social logo

swagger-java-diff-cli's Introduction

swagger-diff

This java jar provides a CLI to diff between two swagger api documents. It accepts three arguments

  1. -c The current swagger (typically found in CI or on your local machine)
  2. -d The deployed swagger (typically found in a deployed environment, this version is hardened)
  3. -r The rules (Json file that can change the default rules)

The Current Rules

Java Class Name Json Name isBreakingChange
AddDefinition add_definition false
AddDescription add_description false
AddMethod add_method false
AddOptionalObjectProperty add_optional_object_property false
AddOptionalParam add_optional_param false
AddMethod add_method false
AddOptionalObjectProperty add_optional_object_property false
AddPath add_path false
AddRequiredParam add_required_param true
DeleteDefinition delete_definition true
DeleteMethod delete_method true
DeleteObjectProperty delete_object_property true
DeleteOperation delete_operation true
DeleteParam delete_param false
DeletePath delete_path true
DeleteProduce delete_produce true
DeleteResponse delete_response true
EditBasePath edit_base_path false
EditDescription edit_description false
EditHost edit_host false
EditOperationId edit_operation_id true
EditParamCollectionFormat edit_param_collection_format true
EditParamIn edit_param_in true
EditParamRequired edit_param_required true
EditParamType edit_param_type true
EditResponse edit_response true
EditSummary edit_summary false

swagger-java-diff-cli's People

Contributors

ryandavis84 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.