endpoint detail role page settings

This commit is contained in:
renaldybrada
2026-02-25 13:40:50 +07:00
parent c4e95e61a9
commit d335b70b37
8 changed files with 232 additions and 6 deletions
+38 -1
View File
@@ -945,6 +945,43 @@ const docTemplate = `{
}
},
"definitions": {
"access.AccessPage": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"is_active": {
"type": "boolean"
},
"page": {
"type": "string"
},
"parent_id": {
"type": "string"
}
}
},
"access.DetailRolePageResponse": {
"type": "object",
"properties": {
"access_page": {
"type": "array",
"items": {
"$ref": "#/definitions/access.AccessPage"
}
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"type": "boolean"
}
}
},
"access.ListRolePermissionPaginateResponse": {
"type": "object",
"properties": {
@@ -965,7 +1002,7 @@ const docTemplate = `{
"id": {
"type": "string"
},
"isActive": {
"is_active": {
"type": "boolean"
},
"name": {
+38 -1
View File
@@ -939,6 +939,43 @@
}
},
"definitions": {
"access.AccessPage": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"is_active": {
"type": "boolean"
},
"page": {
"type": "string"
},
"parent_id": {
"type": "string"
}
}
},
"access.DetailRolePageResponse": {
"type": "object",
"properties": {
"access_page": {
"type": "array",
"items": {
"$ref": "#/definitions/access.AccessPage"
}
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"type": "boolean"
}
}
},
"access.ListRolePermissionPaginateResponse": {
"type": "object",
"properties": {
@@ -959,7 +996,7 @@
"id": {
"type": "string"
},
"isActive": {
"is_active": {
"type": "boolean"
},
"name": {
+25 -1
View File
@@ -1,5 +1,29 @@
basePath: /api
definitions:
access.AccessPage:
properties:
id:
type: string
is_active:
type: boolean
page:
type: string
parent_id:
type: string
type: object
access.DetailRolePageResponse:
properties:
access_page:
items:
$ref: '#/definitions/access.AccessPage'
type: array
id:
type: string
name:
type: string
status:
type: boolean
type: object
access.ListRolePermissionPaginateResponse:
properties:
data:
@@ -13,7 +37,7 @@ definitions:
properties:
id:
type: string
isActive:
is_active:
type: boolean
name:
type: string