Format for WADL to get Response Error Details in API documentation?

Not applicable

Anyone know the syntax to use in my WADL description of my API's that will get it to show the nice "Error Response Details" section in my API documentation? You know, like in the pet store example api? I can't seem to get anything to show up in my API definitions.

Bob

1766-capture.jpg

0 1 273
1 REPLY 1

Former Community Member
Not applicable

Hi @bob.trabucchi we don't support the <Response> element in a WADL file. We do however support that in the Swagger/Open API json/yaml format. The pet store example is sourced from a Swagger/Open API json/yaml file. Here is another workaround to achieve what you are looking to do.