Forum Discussion

shantanubansal's avatar
shantanubansal
New Member
4 years ago

I want to Add Object with the fileUpload or want to use reference (I am using go swagger 2.0)

I want to Add Object with the fileUpload or want to use a reference (I am using go swagger 2.0)

only supported format right now is [string number boolean integer array]. Is there. any hack or workaround by which I can achieve the goal.

When I try to pass $ref for object I get this:

"paths./user/{user}/sso.post.parameters" must validate one and only one schema (oneOf). Found none valid
- paths./user/{user}/sso.post.parameters.type in body should be one of [string number boolean integer array]
- paths./user/{user}/sso.post.parameters.in in body should be one of [header]

No RepliesBe the first to reply