Open bbuhler opened 9 years ago
I tried:
app.server.get ( { url: '/login', swagger: { summary: 'get session', docPath: 'Login' }, validation: {}, responses: { 200: { schema: { type: 'SessionModel' } } } }, function(req, res, next) { .....
Is it possible to declare the status responses + response model with node-restify-swagger?
If yes, how? I don't find anything about it.
I tried:
Is it possible to declare the status responses + response model with node-restify-swagger?
If yes, how? I don't find anything about it.