Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions generator/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ module github.com/oasdiff/openapi-changes-model/generator
go 1.26.2

require (
github.com/oasdiff/oasdiff v1.37.0
github.com/oasdiff/oasdiff v1.38.0
gopkg.in/yaml.v3 v3.0.1
)

require (
cloud.google.com/go v0.123.0 // indirect
github.com/TwiN/go-color v1.4.1 // indirect
github.com/getkin/kin-openapi v0.153.0 // indirect
github.com/go-openapi/jsonpointer v1.0.2 // indirect
github.com/kr/pretty v0.3.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions generator/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/oasdiff/oasdiff v1.37.0 h1:4/KuuhVDHF7ltTYNPRvdn9IIbcPRvGRTdJxBErbD5pQ=
github.com/oasdiff/oasdiff v1.37.0/go.mod h1:qCkt/o0lbgoA+Ypaytn5jbZb3jk7WSE2RCBEnhluDAc=
github.com/oasdiff/oasdiff v1.38.0 h1:N1Y+d2fMEQCcJ6WkA+t/xXpaHZ6H7xLGBTafiF4w6z0=
github.com/oasdiff/oasdiff v1.38.0/go.mod h1:ZRuLRToRdSWeAzfG1fNOoMv01KVkdkn9dA0T/+bfZY8=
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
Expand Down
36 changes: 7 additions & 29 deletions openapi-changes-model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# do not edit by hand. See README.md for how to propose a change.
model: OpenAPI Changes Model
version: 0.1.0-draft
generated_from: oasdiff v1.37.0
generated_from: oasdiff v1.38.0
vocabulary:
locations: 'A location is a path through the OpenAPI object model, dot-separated, with * standing in for a name the API author chooses (a path, a method, a media type, a property name) and x-* for a specification extension: paths.*.*.requestBody.content.*.schema.maxLength names the maxLength keyword of any request body schema. A claim is location:action[,action...], the edits a change covers; a claim pattern may use ** to cover a location family.'
actions:
Expand Down Expand Up @@ -263,16 +263,6 @@ changes:
- paths.*.*.x-*:add,change
description: invalid stability level
message: stability level %s is not one of %s, %s, %s or %s
- id: api-major-version-not-bumped
level: info
direction: none
area: info
kind: lifecycle
effect: none
claims:
- info.version:change
description: a breaking change was detected but the major version did not increase
message: a breaking change was detected but the major version did not increase, from %s to %s
- id: api-operation-id-added
level: info
direction: none
Expand Down Expand Up @@ -648,26 +638,16 @@ changes:
- paths.*.*.tags:remove
description: endpoint tag deleted
message: API tag %s removed
- id: api-version-decreased
level: info
direction: none
area: info
kind: lifecycle
effect: none
claims:
- info.version:change
description: a breaking change was detected but the version decreased
message: a breaking change was detected but the version decreased from %s to %s
- id: api-version-not-bumped
- id: api-version-changed
level: info
direction: none
area: info
kind: lifecycle
effect: none
claims:
- info.version:change
description: a breaking change was detected but the version was not bumped
message: a breaking change was detected but the version is still %s
description: the API version changed
message: the API version changed from %s to %s
- id: endpoint-added
level: info
direction: none
Expand Down Expand Up @@ -51963,19 +51943,17 @@ coverage:
polarity: document
status: covered
checks:
- api-major-version-not-bumped
- api-version-decreased
- api-version-not-bumped
- api-version-changed
- location: info.version
action: set
polarity: document
status: non-contract
reason: version is required; presence changes are validation errors, value changes are checked (api-version rules)
reason: version is required; presence changes are validation errors, value changes are reported (api-version-changed)
- location: info.version
action: unset
polarity: document
status: non-contract
reason: version is required; presence changes are validation errors, value changes are checked (api-version rules)
reason: version is required; presence changes are validation errors, value changes are reported (api-version-changed)
- location: info.x-*
action: add
polarity: document
Expand Down
Loading