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: [
|
||||
{
|
||||
url: '',
|
||||
description: ''
|
||||
url: '/',
|
||||
description: 'default server'
|
||||
},
|
||||
{
|
||||
url: 'http://localhost:3000',
|
||||
description: 'localhost'
|
||||
description: 'localhost server'
|
||||
}
|
||||
],
|
||||
securityDefinitions: {
|
||||
|
|
|
|||
|
|
@ -7,12 +7,12 @@
|
|||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "",
|
||||
"description": ""
|
||||
"url": "/",
|
||||
"description": "default server"
|
||||
},
|
||||
{
|
||||
"url": "http://localhost:3000",
|
||||
"description": "localhost"
|
||||
"description": "localhost server"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
|
|
|
|||
Loading…
Reference in a new issue