endpoint detail role page settings
This commit is contained in:
+38
-1
@@ -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
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user