Skip to content

Commit 0eb5a4a

Browse files
authored
feat: add weight field to Pet schema (#1)
1 parent ff29fb8 commit 0eb5a4a

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"petstore": minor
3+
---
4+
5+
## petstore
6+
7+
- **[minor]** remove response body scope at paths./pets.get.responses.200.content.application/json.schema
8+
- **[minor]** remove response body scope at paths./pets.post.responses.201.content.application/json.schema
9+
- **[minor]** remove response body scope at paths./pets/{petId}.get.responses.200.content.application/json.schema

specs/petstore.openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)