Ask a Question

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

RuthDas
New Contributor

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.

cancel
Showing results for 
Search instead for 
Did you mean: