Skip to content

Commit 733741d

Browse files
authored
feat: add microchip ID field to Pet schema (#4)
* feat: add microchip ID field to Pet schema * chore: add changeset for microchip field
1 parent 6541cb4 commit 733741d

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"petstore": minor
3+
---
4+
5+
## petstore
6+
7+
- **[minor]** add optional microchipId field to Pet schema for tracking pet microchips

specs/petstore.openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ components:
140140
type: number
141141
minimum: 0
142142
description: Weight of the pet in kilograms (optional)
143+
microchipId:
144+
type: string
145+
pattern: '^[0-9]{15}$'
146+
description: 15-digit microchip ID (optional)
143147
status:
144148
type: string
145149
enum:

0 commit comments

Comments
 (0)