feat: add default server description

This commit is contained in:
Anton Voylenko 2025-06-23 09:59:59 +03:00
commit 84c88ceb19
2 changed files with 6 additions and 6 deletions

View file

@ -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: {

View file

@ -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": [