swagger-tools
swagger-tools copied to clipboard
A Node.js and browser module that provides tooling around Swagger.
so in this form, maxCount is not necessary https://swagger.io/docs/specification/2-0/file-upload/
this test works before 17e77be805d277b18177eaddfa65aaa561f42bfe
A typo in swagger-route prevents to return the previously initialized status code by checking the wrong, variable resulting in an always `true` confition
Related to #518 but not quite the same thing. swagger-router should return 201 status code for POST and 204 for DELETE (coming from https://github.com/apigee-127/swagger-tools/blob/master/middleware/swagger-router.js#L257). However, 200 status code is always...
You may not want to define a `default` value for a schema object, but still want to provide representative examples, particularly in mock responses. This is particularly important where `string`...
At the moment the swaggerRouter assumes that all required() modules are object-returns, with slots for each controller method. This means that you cannot effectively pass-in test control flags, value substitutions...
It would be very useful, if there was a way to instruct the swagger validator to return all validation errors, instead of just the first occurance. For example: With a...
It could be nice to allow to pass option to multer. Indeed on our project we need to add before the swagger middleware the multer middleware to limit the size...
I would like to do additional validation; I want to assert that certain fields in the response matches certain fields in the request. Is this possible, if so, please link...
I have seen x-swagger-router-handle-subpaths option in router middleware. It is acting like a wildcard after url. In my swagger json I have defined a path "/dog". If I use url...