I'm annotating my REST appilication using "@ApiOperation". What I want to do is generating response example and I'm trying to do so by using "responseReference" element of "@ApiOperation" annotation.
Annotating like below returns an error saying "CWWKO1255E: Invalid internal reference: #/definitions/items"
@ApiOperation(value = "Search an item by item_no", notes = "Search an item by inputting number of model or parts", responseReference = "items")
My questions are:
1.Is it possible to refer sample json file located at local server?(same as liberty server installed)
2.If 1 is possible, where in the server the json file shoud be located?
3.Value of "responseReference" is converted to the senense "#/definitions/...". Does this mean my json should use "definition" object?
Push of REST API from IIBv10 to API Connect on Bluemix 2 Answers
WLP 9 beta - API-Discovery in OSGi bundle not working with Swagger-Annotations 1 Answer
Problems with apiDiscovery of JAXRS classes in WAR 2 Answers
BPM Simplified REST API - Deployment Issue 2 Answers
Liberty roadmap for Bluemix 1 Answer