Skip to content

Commit ed0ccb7

Browse files
committed
fix: Standardize quotation marks in YAML file
1 parent 94496e5 commit ed0ccb7

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

specmatic-studio-demo/specs/test-openapi/spec-editing/product_search_bff_v5_fix_typo.yaml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
title: Order BFF
44
description: Sample Order BFF
5-
version: '5.0'
5+
version: "5.0"
66
contact:
77
email: devs@specmatic.io
88
servers:
@@ -28,30 +28,30 @@ paths:
2828
content:
2929
application/json:
3030
schema:
31-
$ref: '#/components/schemas/ProductBase'
31+
$ref: "#/components/schemas/ProductBase"
3232
responses:
33-
'201':
33+
"201":
3434
description: Product created
3535
content:
3636
application/json:
3737
schema:
38-
$ref: '#/components/schemas/Id'
39-
'202':
38+
$ref: "#/components/schemas/Id"
39+
"202":
4040
description: Product Accepted
4141
headers:
4242
Link:
4343
schema:
44-
$ref: '#/components/schemas/MonitorLink'
45-
'400':
44+
$ref: "#/components/schemas/MonitorLink"
45+
"400":
4646
description: Bad Request
4747
content:
4848
application/json:
4949
schema:
50-
$ref: '#/components/schemas/BadRequest'
50+
$ref: "#/components/schemas/BadRequest"
5151
/findAvailableProducts:
5252
parameters:
5353
- schema:
54-
$ref : '#/components/schemas/ProductType'
54+
$ref: "#/components/schemas/ProductType"
5555
name: type
5656
in: query
5757
required: false
@@ -78,28 +78,28 @@ paths:
7878
tags:
7979
- Product
8080
responses:
81-
'200':
81+
"200":
8282
description: OK
8383
content:
8484
application/json:
8585
schema:
8686
type: array
8787
items:
88-
$ref: '#/components/schemas/Product'
89-
'429':
88+
$ref: "#/components/schemas/Product"
89+
"429":
9090
description: TooManyRequests
9191
headers:
9292
Retry-After:
9393
schema:
9494
type: integer
9595
description: The number of seconds to wait before making the next request
96-
'400':
96+
"400":
9797
description: Bad Request
9898
content:
9999
application/json:
100100
schema:
101-
$ref: '#/components/schemas/BadRequest'
102-
/orders:
101+
$ref: "#/components/schemas/BadRequest"
102+
/ordres:
103103
post:
104104
description: Create a new order
105105
operationId: createOrder
@@ -109,26 +109,26 @@ paths:
109109
content:
110110
application/json:
111111
schema:
112-
$ref: '#/components/schemas/OrderBase'
112+
$ref: "#/components/schemas/OrderBase"
113113
responses:
114-
'201':
114+
"201":
115115
description: Order created
116116
content:
117117
application/json:
118118
schema:
119-
$ref: '#/components/schemas/Id'
120-
'202':
119+
$ref: "#/components/schemas/Id"
120+
"202":
121121
description: Order accepted
122122
headers:
123123
Link:
124124
schema:
125-
$ref: '#/components/schemas/MonitorLink'
126-
'400':
125+
$ref: "#/components/schemas/MonitorLink"
126+
"400":
127127
description: Bad Request
128128
content:
129129
application/json:
130130
schema:
131-
$ref: '#/components/schemas/BadRequest'
131+
$ref: "#/components/schemas/BadRequest"
132132
/monitor/{id}:
133133
get:
134134
description: Retrieves a Monitor by ID
@@ -142,18 +142,18 @@ paths:
142142
schema:
143143
type: integer
144144
responses:
145-
'200':
145+
"200":
146146
description: Monitor status
147147
content:
148148
application/json:
149149
schema:
150-
$ref: '#/components/schemas/MonitorResponse'
151-
'400':
150+
$ref: "#/components/schemas/MonitorResponse"
151+
"400":
152152
description: Bad Request
153153
content:
154154
application/json:
155155
schema:
156-
$ref: '#/components/schemas/BadRequest'
156+
$ref: "#/components/schemas/BadRequest"
157157
components:
158158
schemas:
159159
ProductInventory:
@@ -187,18 +187,18 @@ components:
187187
name:
188188
type: string
189189
type:
190-
$ref: '#/components/schemas/ProductType'
190+
$ref: "#/components/schemas/ProductType"
191191
inventory:
192-
$ref: '#/components/schemas/ProductInventory'
192+
$ref: "#/components/schemas/ProductInventory"
193193
required:
194194
- name
195195
- type
196196
- inventory
197197
Product:
198198
allOf:
199-
- $ref: '#/components/schemas/Id'
200-
- $ref: '#/components/schemas/ProductBase'
201-
- $ref: '#/components/schemas/CreatedOn'
199+
- $ref: "#/components/schemas/Id"
200+
- $ref: "#/components/schemas/ProductBase"
201+
- $ref: "#/components/schemas/CreatedOn"
202202
CreatedOn:
203203
type: object
204204
required:
@@ -220,8 +220,8 @@ components:
220220
- count
221221
Order:
222222
allOf:
223-
- $ref: '#/components/schemas/Id'
224-
- $ref: '#/components/schemas/OrderBase'
223+
- $ref: "#/components/schemas/Id"
224+
- $ref: "#/components/schemas/OrderBase"
225225
- type: object
226226
properties:
227227
status:
@@ -234,9 +234,9 @@ components:
234234
description: Monitoring of resources
235235
properties:
236236
request:
237-
$ref: '#/components/schemas/Request'
237+
$ref: "#/components/schemas/Request"
238238
response:
239-
$ref: '#/components/schemas/Response'
239+
$ref: "#/components/schemas/Response"
240240
Request:
241241
type: object
242242
description: A response to a request
@@ -248,7 +248,7 @@ components:
248248
headers:
249249
type: array
250250
items:
251-
$ref: '#/components/schemas/HeaderItem'
251+
$ref: "#/components/schemas/HeaderItem"
252252
required:
253253
- method
254254
- body
@@ -264,7 +264,7 @@ components:
264264
headers:
265265
type: array
266266
items:
267-
$ref: '#/components/schemas/HeaderItem'
267+
$ref: "#/components/schemas/HeaderItem"
268268
required:
269269
- statusCode
270270
- body
@@ -287,4 +287,4 @@ components:
287287
error:
288288
type: string
289289
message:
290-
type: string
290+
type: string

0 commit comments

Comments
 (0)