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

No files matched your search

+44
View File
@@ -17,6 +17,19 @@ definitions:
- keycloak_id
- name
type: object
access.UserRoleResponse:
properties:
email:
type: string
hak_akses:
items:
type: string
type: array
id:
type: string
name:
type: string
type: object
antrianoperasi.CreatePasienOperasiRequest:
properties:
diagnosisItems:
@@ -469,6 +482,37 @@ paths:
summary: Get Pages By Keycloak Id
tags:
- Access Role
/access/list-user:
get:
parameters:
- description: Search Keyword
in: query
name: search
type: string
- default: "10"
description: Limit
in: query
name: limit
type: string
- default: "0"
description: Offset
in: query
name: offset
type: string
responses:
"200":
description: OK
schema:
items:
$ref: '#/definitions/access.UserRoleResponse'
type: array
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/shared.BaseErrorResponse'
summary: Get List User And Role
tags:
- Access Role
/access/sync-keycloak-role:
post:
parameters: