Hi Team,
Product related
#IS10.15 #designer 10.15
Customer is using the REST API Descriptor (RAD) to generate a Swagger with the following output documents such this:
- dataOutput
- fault
They are trying to separate the Example Value(Swagger Editor) for HTTP codes 200 and 500.
The question
Is there a way to make the HTTP code 500 hyperlink point to the fault document only?
Because when they generate the Swagger, instead of linking just the ‘fault’ document, the ‘dataOutput’ is also linked to 500.
Customer expects only the ‘fault’ to be associated with HTTP code 500.
-
Create new code for 500
-
After clicking on the 500 hyperlink, it takes you to document_GET_response
-
in Swagger Editor, code 500 with example value that should only be ‘fault’ but ‘dataOutput’ is also listed
really appreciate the help!
Thanks.