apigee-127/swagger-tools

swagger-route returning incorrect status code on POST and DELETE

Muldec opened this issue · 0 comments

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.