Forum Discussion

Prasad_Bali's avatar
Prasad_Bali
New Contributor
4 years ago
Solved

Yaml format to represent two different objects in an array

Hi All,   I am trying to prepare a Swagger file in YAML format for a request JSON for our API. In our JSON there is an array in below format,   "RawParams": [            {               "Key": "...
  • RonRatovsky's avatar
    4 years ago

    Currently, OpenAPI does not support such a construct.

     

    The upcoming release of OpenAPI 3.10 will enable that functionality, but it may take some time for tools to catch up.