node-restify-swagger
node-restify-swagger copied to clipboard
Swagger generation for REST-Services built with node-restify and node.js based on validation schemas of node-restify-validation.
Hey there, Is there any plan for Swagger 2.0 support or any other alternatives for swagger 2.0 with restify? Migration guide: https://github.com/swagger-api/swagger-spec/wiki/Swagger-1.2-to-2.0-Migration-Guide
This Pull Request addresses issue #11. # Usage / Implementation - You can optionally add an ‘authorizations’ parameter to each route with a space separated list of route-authorizations (Example: "admin...
node-restify-validation uses Validation like this: ``` validation: { resources: { id: { isRequired: true, isNatural: true }, label: { isRequired: true } }, queries : { status: { isRequired: true,...
I tried: ``` javascript app.server.get ( { url: '/login', swagger: { summary: 'get session', docPath: 'Login' }, validation: {}, responses: { 200: { schema: { type: 'SessionModel' } } }...
I need to hide "protected" API methods from the Swagger UI until the API Key is provided. It would be great if there was some meta data defined on each...
When you define both a server.put and server.post with the same URL, the last define is used as the model for both methods in the Swagger UI. I would expect...
We are using scope: 'path" because we like the way the URL's are formatted. Very "Resty"! When the fields are set to scope: 'query' our GET works fine with Swagger...