fix(docs): Swagger configuratie

This commit is contained in:
Tibo De Peuter 2025-03-13 23:28:51 +01:00
parent 9492caa34b
commit 9f67e7783b
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
2 changed files with 2097 additions and 736 deletions

View file

@ -16,7 +16,7 @@ const doc = {
description: 'Development server', description: 'Development server',
}, },
{ {
url: 'https://sel2-1.ugent.be/api', url: 'https://sel2-1.ugent.be/',
description: 'Production server', description: 'Production server',
}, },
], ],
@ -26,7 +26,7 @@ const doc = {
type: 'oauth2', type: 'oauth2',
flows: { flows: {
implicit: { implicit: {
authorizationUrl: 'http://localhost:7080/realms/student/protocol/openid-connect/auth', authorizationUrl: 'https://sel2-1.ugent.be/idp/realms/student/protocol/openid-connect/auth',
scopes: { scopes: {
openid: 'openid', openid: 'openid',
profile: 'profile', profile: 'profile',
@ -39,7 +39,7 @@ const doc = {
type: 'oauth2', type: 'oauth2',
flows: { flows: {
implicit: { implicit: {
authorizationUrl: 'http://localhost:7080/realms/teacher/protocol/openid-connect/auth', authorizationUrl: 'https://sel2-1.ugent.be/idp/realms/teacher/protocol/openid-connect/auth',
scopes: { scopes: {
openid: 'openid', openid: 'openid',
profile: 'profile', profile: 'profile',

File diff suppressed because it is too large Load diff