swagger-api/swagger-node

Getting stack trace in swagger validation response

ManishKumawat opened this issue · 0 comments

I have created a application using "swagger project create" command and it is working fine.

I have added some API validation and they are working fine. Only problem with is that i am getting complete stack trace in response and i dont want that. i did not find any way to remove stack trace from response.

I am using below versions of swagger packages

"swagger": "^0.7.5",
    "swagger-express-mw": "^0.1.0",
    "swagger-ui-express": "^4.0.6",

Below is the error which i am getting

swaggererror