access role documentation
This commit is contained in:
@@ -9,6 +9,70 @@
|
||||
"host": "localhost:8080",
|
||||
"basePath": "/api",
|
||||
"paths": {
|
||||
"/access/eligible-menu": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"Access Role"
|
||||
],
|
||||
"summary": "Get Pages By Keycloak Id",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Keycloak ID",
|
||||
"name": "keycloak_id",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/shared.BaseResponse"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/shared.BaseErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/access/sync-keycloak-role": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"Access Role"
|
||||
],
|
||||
"summary": "Sync Keycloak Role",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "Sync Keycloak Role",
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/access.SyncKeycloakRoleRequest"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/shared.BaseResponse"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/shared.BaseErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/antrian-operasi/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -784,6 +848,31 @@
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"access.SyncKeycloakRoleRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"email",
|
||||
"keycloak_id",
|
||||
"name"
|
||||
],
|
||||
"properties": {
|
||||
"client_role": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"email": {
|
||||
"type": "string"
|
||||
},
|
||||
"keycloak_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"antrianoperasi.CreatePasienOperasiRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
|
||||
Reference in New Issue
Block a user