Skip to content

Commit f6a528c

Browse files
Merge pull request #38 from adidas/fix-demo
Change number values to strings
2 parents e9c7747 + dcff533 commit f6a528c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

examples/valid/demo-orderapi-v3.oas2.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ paths:
3434
summary: Retrieve API Root
3535
description: The API Root contains the initial set of link relations.
3636
responses:
37-
200:
37+
"200":
3838
description: The root of the API
3939
schema:
4040
allOf:
@@ -56,7 +56,7 @@ paths:
5656
- $ref: '#/parameters/offset'
5757
- $ref: '#/parameters/limit'
5858
responses:
59-
200:
59+
"200":
6060
description: The list of Orders
6161
schema:
6262
$ref: '#/definitions/supermodelIoAdidasExamplesOrderApiOrders'
@@ -74,7 +74,7 @@ paths:
7474
schema:
7575
$ref: '#/definitions/supermodelIoAdidasExamplesOrderOrder'
7676
responses:
77-
201:
77+
"201":
7878
description: Newly created order
7979
schema:
8080
$ref: '#/definitions/supermodelIoAdidasExamplesOrderApiOrder'
@@ -96,11 +96,11 @@ paths:
9696
parameters:
9797
- $ref: '#/parameters/fields'
9898
responses:
99-
200:
99+
"200":
100100
description: A particular Order
101101
schema:
102102
$ref: '#/definitions/supermodelIoAdidasExamplesOrderApiOrder'
103-
404:
103+
"404":
104104
description: The request Order wasn't found
105105
headers:
106106
Content-Type:
@@ -128,7 +128,7 @@ paths:
128128
schema:
129129
$ref: '#/definitions/supermodelIoAdidasExamplesOrderApiOrderPatch'
130130
responses:
131-
200:
131+
"200":
132132
description: The Order was updated
133133
schema:
134134
$ref: '#/definitions/supermodelIoAdidasExamplesOrderApiOrder'
@@ -138,7 +138,7 @@ paths:
138138
description: Deletes an order without returning its instance.
139139
produces: []
140140
responses:
141-
204:
141+
"204":
142142
description: The Order was deleted
143143

144144
parameters:

0 commit comments

Comments
 (0)