fixing role-permission docs

This commit is contained in:
renaldybrada
2026-02-25 11:34:07 +07:00
parent 1bcc642c49
commit c4e95e61a9
4 changed files with 264 additions and 4 deletions
+64
View File
@@ -1,5 +1,23 @@
basePath: /api
definitions:
access.ListRolePermissionPaginateResponse:
properties:
data:
items:
$ref: '#/definitions/access.RolePermissionModel'
type: array
paging:
$ref: '#/definitions/shared.PaginationInfo'
type: object
access.RolePermissionModel:
properties:
id:
type: string
isActive:
type: boolean
name:
type: string
type: object
access.SyncKeycloakRoleRequest:
properties:
client_role:
@@ -422,6 +440,23 @@ definitions:
success:
type: boolean
type: object
shared.PaginationInfo:
properties:
currentPage:
type: integer
hasNext:
type: boolean
hasPrev:
type: boolean
limit:
type: integer
offset:
type: integer
total:
type: integer
totalPages:
type: integer
type: object
spesialis.SpesialisModel:
properties:
id:
@@ -510,6 +545,35 @@ paths:
description: Internal Server Error
schema:
$ref: '#/definitions/shared.BaseErrorResponse'
summary: Get List User And Role
tags:
- Access Role
/access/role-permission:
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:
$ref: '#/definitions/access.ListRolePermissionPaginateResponse'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/shared.BaseErrorResponse'
summary: Get List Role Page Settings
tags:
- Access Role