feat: add default server description
This commit is contained in:
parent
0c7a3090c3
commit
84c88ceb19
2 changed files with 6 additions and 6 deletions
|
|
@ -10,12 +10,12 @@ const doc = {
|
||||||
},
|
},
|
||||||
servers: [
|
servers: [
|
||||||
{
|
{
|
||||||
url: '',
|
url: '/',
|
||||||
description: ''
|
description: 'default server'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
url: 'http://localhost:3000',
|
url: 'http://localhost:3000',
|
||||||
description: 'localhost'
|
description: 'localhost server'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
securityDefinitions: {
|
securityDefinitions: {
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,12 @@
|
||||||
},
|
},
|
||||||
"servers": [
|
"servers": [
|
||||||
{
|
{
|
||||||
"url": "",
|
"url": "/",
|
||||||
"description": ""
|
"description": "default server"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"url": "http://localhost:3000",
|
"url": "http://localhost:3000",
|
||||||
"description": "localhost"
|
"description": "localhost server"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue