docs: Beschrijving API servers

This commit is contained in:
Tibo De Peuter 2025-03-09 14:26:41 +01:00
parent 855620cb67
commit 834ff236aa
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
2 changed files with 7 additions and 3 deletions

View file

@ -13,9 +13,11 @@ const doc = {
servers: [
{
url: 'http://localhost:3000/',
description: 'Development server'
},
{
url: 'https://sel2-1.ugent.be/api'
url: 'https://sel2-1.ugent.be/api',
description: 'Production server'
}
],
components: {

View file

@ -11,10 +11,12 @@
},
"servers": [
{
"url": "http://localhost:3000/"
"url": "http://localhost:3000/",
"description": "Development server"
},
{
"url": "https://sel2-1.ugent.be/api"
"url": "https://sel2-1.ugent.be/api",
"description": "Production server"
}
],
"paths": {