endpoint user role

This commit is contained in:
renaldybrada
2026-02-25 10:43:54 +07:00
parent 6ac3798ea8
commit 35667518a7
9 changed files with 367 additions and 3 deletions
+67
View File
@@ -40,6 +40,53 @@
}
}
},
"/access/list-user": {
"get": {
"tags": [
"Access Role"
],
"summary": "Get List User And Role",
"parameters": [
{
"type": "string",
"description": "Search Keyword",
"name": "search",
"in": "query"
},
{
"type": "string",
"default": "10",
"description": "Limit",
"name": "limit",
"in": "query"
},
{
"type": "string",
"default": "0",
"description": "Offset",
"name": "offset",
"in": "query"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/access.UserRoleResponse"
}
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/shared.BaseErrorResponse"
}
}
}
}
},
"/access/sync-keycloak-role": {
"post": {
"tags": [
@@ -873,6 +920,26 @@
}
}
},
"access.UserRoleResponse": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"hak_akses": {
"type": "array",
"items": {
"type": "string"
}
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"antrianoperasi.CreatePasienOperasiRequest": {
"type": "object",
"required": [