fix: coerce multipart initial property values to string (via #5166)

* coerce multipart initial property values to string

* add tests
This commit is contained in:
kyle
2019-02-07 15:35:22 -06:00
committed by GitHub
parent 48e4fb937d
commit d3c2e2777f
3 changed files with 49 additions and 3 deletions

View File

@@ -0,0 +1,23 @@
openapi: "3.0.0"
paths:
/:
post:
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
properties:
first:
type: object
example:
one: abc
two: 123
second:
type: array
items:
type: string
example:
- "hi"