Adds middleware to your express app to serve the Swagger UI bound to your Swagger document. This acts as living documentation for your API hosted from within your app.
I'm trying to send email and password data's using request body instead of params method, but I'm not able to see request body in the swagger-ui "swagger-ui-express": "^4.3.0".
I have the same issue. But in my case openapi: '3.0.0'
I'm trying to send email and password data's using request body instead of params method, but I'm not able to see request body in the swagger-ui
"swagger-ui-express": "^4.3.0"
.I have the same issue. But in my case
openapi: '3.0.0'
Screenshot for reference
Swagger-jsdoc output
{ openapi: '3.0.0', info: { title: 'Node API', version: '1.0.0' }, paths: { '/user/register': { post: [Object] }, '/healthcare/heroku': { get: [Object] }, '/healthcare/getall': { get: [Object] }, '/healthcare/id': { get: [Object] } }, components: { schema: { users: [Object] } }, tags: [] }
Code for reference