Skip to content

Commit 2c296fe

Browse files
[kotlin-spring] fix spec errors in petstore-with-tags.yaml
1 parent 9665ea9 commit 2c296fe

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

modules/openapi-generator/src/test/resources/3_0/kotlin/petstore-with-tags.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -267,16 +267,15 @@ paths:
267267
content:
268268
multipart/form-data:
269269
schema:
270+
type: object
270271
properties:
271272
additionalMetadata:
272-
type: string
273-
description: Additional data to pass to server
274-
required: false
273+
type: string
274+
description: Additional data to pass to server
275275
image:
276-
type: string
277-
description: image to upload
278-
format: binary
279-
required: true
276+
type: string
277+
description: image to upload
278+
format: binary
280279
responses:
281280
200:
282281
description: successful operation
@@ -306,18 +305,17 @@ paths:
306305
content:
307306
multipart/form-data:
308307
schema:
308+
type: object
309309
properties:
310310
additionalMetadata:
311311
type: string
312312
description: Additional data to pass to server
313-
required: false
314313
images:
315314
type: array
316315
items:
317316
type: string
318317
description: image to upload
319318
format: binary
320-
required: true
321319
responses:
322320
200:
323321
description: successful operation

0 commit comments

Comments
 (0)