Skip to content

Commit 8efab5f

Browse files
mabarcebe
authored andcommitted
Fix syntax errors
close #2036
1 parent 22c0653 commit 8efab5f

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

examples/v3.0/api-with-examples.yaml

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ paths:
1313
200 response
1414
content:
1515
application/json:
16-
examples:
16+
examples:
1717
foo:
18-
value: {
18+
value:
19+
{
1920
"versions": [
2021
{
2122
"status": "CURRENT",
@@ -40,15 +41,15 @@ paths:
4041
]
4142
}
4243
]
43-
}
44+
}
4445
'300':
4546
description: |-
4647
300 response
4748
content:
48-
application/json:
49-
examples:
49+
application/json:
50+
examples:
5051
foo:
51-
value: |
52+
value:
5253
{
5354
"versions": [
5455
{
@@ -74,7 +75,7 @@ paths:
7475
]
7576
}
7677
]
77-
}
78+
}
7879
/v2:
7980
get:
8081
operationId: getVersionDetailsv2
@@ -84,10 +85,11 @@ paths:
8485
description: |-
8586
200 response
8687
content:
87-
application/json:
88+
application/json:
8889
examples:
8990
foo:
90-
value: {
91+
value:
92+
{
9193
"version": {
9294
"status": "CURRENT",
9395
"updated": "2011-01-21T11:33:21Z",
@@ -124,15 +126,16 @@ paths:
124126
}
125127
]
126128
}
127-
}
129+
}
128130
'203':
129131
description: |-
130132
203 response
131133
content:
132-
application/json:
134+
application/json:
133135
examples:
134136
foo:
135-
value: {
137+
value:
138+
{
136139
"version": {
137140
"status": "CURRENT",
138141
"updated": "2011-01-21T11:33:21Z",
@@ -164,4 +167,4 @@ paths:
164167
}
165168
]
166169
}
167-
}
170+
}

0 commit comments

Comments
 (0)