Sha256: 5f8b2751738fd795ae6107ccaab8550f55fcfb077781da35cbcc2251fe777262

Contents?: true

Size: 375 Bytes

Versions: 5

Compression:

Stored size: 375 Bytes

Contents

#!/usr/bin/env ruby

require 'swagger/diff'

if ARGV.length == 2
  diff = Swagger::Diff::Diff.new(ARGV[0], ARGV[1])

  unless diff.compatible?
    puts diff.incompatibilities_message
    exit 1
  end
else
  puts 'Usage: swagger-diff <old> <new>

Checks <new> for backwards-compatibility with <old>. If <new> is incompatible,
a list of incompatibilities will be printed.'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
swagger-diff-1.0.5 exe/swagger-diff
swagger-diff-1.0.4 exe/swagger-diff
swagger-diff-1.0.3 exe/swagger-diff
swagger-diff-1.0.2 exe/swagger-diff
swagger-diff-1.0.1 exe/swagger-diff