irest-app-test
Version:
iRest simulator application tooling and scripts - Backend
2 lines • 426 B
JavaScript
;var swaggerJsdoc=require("swagger-jsdoc"),swaggerUi=require("swagger-ui-express"),options={definition:{openapi:"3.0.0",info:{title:"Express API for JSONPlaceholder",version:"1.0.0",description:"This is a REST API application made with Express. It retrieves data from JSONPlaceholder."}},apis:["./index.js"]// Path to your API routes
},specs=swaggerJsdoc(options);module.exports={specs:specs,swaggerUi:swaggerUi};