fix(docs): Swagger configuratie
This commit is contained in:
parent
9492caa34b
commit
9f67e7783b
2 changed files with 2097 additions and 736 deletions
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue