Support for multiple request body examples

The OpenAPI 3.0 spec currently supports under requestBody either example or examples, the latter accepting one or more key/value pairs to enumerate any number of possible request bodies. However, Apidog only supports singular example, both on the GUI side, as well as when importing from an external OpenAPI spec (examples is converted to example and only the first key/value is retained).

I would like to see full support for both adding multiple examples under requestBody in the GUI as well as retention of all examples when importing.

Hi, We are pleased to inform you that we plan to improve this feature to fully support multiple examples within the requestBody, both in the graphical user interface and when importing from external OpenAPI specifications. This will ensure that all examples are saved and can be used effectively.

We appreciate your feedback and will keep you updated on the progress of this improvement.

1 Like