File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -153,6 +153,10 @@ components:
153153 type : string
154154 maxLength : 30
155155 description : Color of the pet (optional)
156+ weight :
157+ type : number
158+ minimum : 0
159+ description : Weight of the pet in kilograms (optional)
156160 status :
157161 type : string
158162 enum :
Original file line number Diff line number Diff line change 11{
22 "petstore" : {
3- "version" : " 1.0 .0" ,
4- "released" : " 2026-03-27T17:12:54.432Z "
3+ "version" : " 1.1 .0" ,
4+ "released" : " 2026-03-27T22:54:27.781Z "
55 }
66}
Original file line number Diff line number Diff line change 1+ name : Contract PR Check
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - ' specs/**'
7+ - ' .contractual/**'
8+
9+ permissions :
10+ contents : write
11+ pull-requests : write
12+
13+ jobs :
14+ check :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v4
19+
20+ - name : Run Contractual PR Check
21+ uses : contractual-dev/action@v1
22+ with :
23+ mode : pr-check
24+ fail-on-breaking : ' true'
25+ auto-changeset : ' true'
26+ github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Version Contracts
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ paths :
8+ - ' .contractual/changesets/**'
9+ - ' !.contractual/changesets/.gitkeep'
10+
11+ permissions :
12+ contents : write
13+ pull-requests : write
14+
15+ jobs :
16+ version :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Checkout code
20+ uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+
24+ - name : Version Contracts
25+ id : version
26+ uses : contractual-dev/action@v1
27+ with :
28+ mode : release
29+ github-token : ${{ secrets.GITHUB_TOKEN }}
30+ create-releases : ' true'
31+ tag-prefix : ' contract'
32+ attach-specs : ' true'
33+
34+ - name : Summary
35+ if : steps.version.outputs.version-pr-url
36+ run : |
37+ echo "📦 Version PR: ${{ steps.version.outputs.version-pr-url }}"
38+ echo "🏷️ Tags created: ${{ steps.version.outputs.created-tags }}"
39+ echo "🚀 Releases: ${{ steps.version.outputs.release-urls }}"
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ petstore] v1.1.0 - 2026-03-28
4+
5+ - ** [ minor] ** remove response body scope at paths./pets.get.responses.200.content.application/json.schema
6+ - ** [ minor] ** remove response body scope at paths./pets.post.responses.201.content.application/json.schema
7+ - ** [ minor] ** remove response body scope at paths./pets/{petId}.get.responses.200.content.application/json.schema
8+
39## [ petstore] v1.0.0 - 2026-03-27
410
511- ** [ BREAKING] ** remove method at paths./pets/{petId}.delete
You can’t perform that action at this time.
0 commit comments