The problem is that we do not have anything to publish:
When building Java REST-layers, and Node JS REST layers, the swagger doc usually is generated automatically from jsdocs or java annotations.
However now we are building the REST layer entirely in the CA GW, it is okay if we only want limited logic in the layer... But one thing we are missing out on is the Swagger generation.
I later found that it has been mentioned before that CA lacks this support . However it should be quite easy to develop, for instance something similar to what: swagger-jsdoc does for nodejs.
swagger-jsdoc/GETTING-STARTED.md at master · Surnet/swagger-jsdoc · GitHub
Where the extremely trivial syntax below:
/** * @swagger * /login: * post: * description: Login to the application * produces: * - application/json * parameters: * - name: username * description: Username to use for login. * in: formData * required: true * type: string * - name: password * description: User's password. * in: formData * required: true * type: string * responses: * 200: * description: login */app.post('/login', function(req, res) { res.json(req.body); });
creates the entire swagger file for the nodejs login endpoint.
I sincerely hope this is something you would like to investigate further asap, for everyones good . feature request...
Best Regards David Karlsson.