Skip to content

Commit 1a68f26

Browse files
committed
Add example for multiple types
1 parent 64dd946 commit 1a68f26

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

demo/examples/petstore-1.0.0.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,14 @@ paths:
242242
properties:
243243
name:
244244
description: Updated name of the pet
245-
type: string
245+
type:
246+
- string
247+
- "null"
246248
status:
247249
description: Updated status of the pet
248-
type: string
250+
type:
251+
- string
252+
- "null"
249253
delete:
250254
tags:
251255
- pet

0 commit comments

Comments
 (0)