Forum Discussion

RuthDas's avatar
RuthDas
New Contributor
6 years ago

How can I create requestBody parameters with multiple schemas . Can you share an example for clarity

Hi,

 

I'm trying to write an api spec for http post with requestBody parameters having multiple schemas.

Din't find any sample yaml files in my web search that could show the same. So can I get an example that illustrates the above case.

Also how can I send the values ie examples for each schema.

Attached is the file for your reference.

 

I have also collaborated the same spec to swaggerhub-support.

No RepliesBe the first to reply