Description
When the response status is 201 (created), the autogenerated controller is giving a 200 (ok).
Swagger-codegen version
2.3.0-SNAPSHOT
Swagger declaration file content or url
"/phone_numbers/{phone_number}/foo": {
"post": {
"tags": [
"foo"
],
"operationId": "createFoo",
"description": "Create foo for a phone number",
"responses": {
"201": {
"description": "Created"
}
Steps to reproduce
Just check this line. We are not considering the response that the swagger could give.
Any idea @JFCote ?