feat: init-express-backend #6

Merged
Clement merged 38 commits from feat--init-express-backend into master 2024-05-06 19:20:30 +00:00
Showing only changes of commit 863f02168d - Show all commits

View File

@ -5,21 +5,22 @@ const port = parseInt(process.env.BAR_PORT || '3000')
const options = {
definition: {
openapi: "3.1.0",
info: {
openapi: "3.1.0",
info: {
title: "LogRocket Express API with Swagger",
version: "0.1.0",
description:
"This is a simple CRUD API application made with Express and documented with Swagger",
},
servers: [
{
url: "http://localhost:"+port.toString(),
"This is a simple CRUD API application made with Express and documented with Swagger",
},
],
servers: [
{
url: "http://localhost:"+port.toString(),
},
],
},
apis: ['./src/*.ts'],
}
apis: ['./src/*.ts'],
explorer: true
}
export default options