add explorer.??
All checks were successful
Build Docker Image Front / run (push) Successful in 21s
Build Docker Image Back / run (push) Successful in 39s
Build Docker Image Front / run (pull_request) Successful in 21s
Build Docker Image Back / run (pull_request) Successful in 20s
JsDocs / coverage (pull_request) Successful in 34s
Test and coverage / coverage (pull_request) Successful in 40s
All checks were successful
Build Docker Image Front / run (push) Successful in 21s
Build Docker Image Back / run (push) Successful in 39s
Build Docker Image Front / run (pull_request) Successful in 21s
Build Docker Image Back / run (pull_request) Successful in 20s
JsDocs / coverage (pull_request) Successful in 34s
Test and coverage / coverage (pull_request) Successful in 40s
This commit is contained in:
parent
c394454767
commit
863f02168d
@ -5,21 +5,22 @@ const port = parseInt(process.env.BAR_PORT || '3000')
|
|||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
definition: {
|
definition: {
|
||||||
openapi: "3.1.0",
|
openapi: "3.1.0",
|
||||||
info: {
|
info: {
|
||||||
title: "LogRocket Express API with Swagger",
|
title: "LogRocket Express API with Swagger",
|
||||||
version: "0.1.0",
|
version: "0.1.0",
|
||||||
description:
|
description:
|
||||||
"This is a simple CRUD API application made with Express and documented with Swagger",
|
"This is a simple CRUD API application made with Express and documented with Swagger",
|
||||||
},
|
|
||||||
servers: [
|
|
||||||
{
|
|
||||||
url: "http://localhost:"+port.toString(),
|
|
||||||
},
|
},
|
||||||
],
|
servers: [
|
||||||
|
{
|
||||||
|
url: "http://localhost:"+port.toString(),
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
apis: ['./src/*.ts'],
|
apis: ['./src/*.ts'],
|
||||||
}
|
explorer: true
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
export default options
|
export default options
|
Loading…
x
Reference in New Issue
Block a user