swagger-tools
swagger-tools copied to clipboard
swagger-route returning incorrect status code on POST and DELETE
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 returned.