Skip to content

Commit 1d1eea3

Browse files
committed
Improve example clarity
1 parent 63d580b commit 1d1eea3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/oas.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,9 +1185,14 @@ name: json
11851185
content:
11861186
application/json:
11871187
schema:
1188-
# Allow an arbitrary JSON object to keep
1189-
# the example simple
11901188
type: object
1189+
properties:
1190+
numbers:
1191+
type: array
1192+
items:
1193+
type: number
1194+
flag:
1195+
type: [boolean, "null"]
11911196
examples:
11921197
TwoNoFlag:
11931198
description: Serialize with minimized whitespace

0 commit comments

Comments
 (0)