fixing role-permission docs
This commit is contained in:
+99
-1
@@ -45,7 +45,7 @@
|
||||
"tags": [
|
||||
"Access Role"
|
||||
],
|
||||
"summary": "Get List Role Page Settings",
|
||||
"summary": "Get List User And Role",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
@@ -87,6 +87,50 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/access/role-permission": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"Access Role"
|
||||
],
|
||||
"summary": "Get List Role Page Settings",
|
||||
"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": {
|
||||
"$ref": "#/definitions/access.ListRolePermissionPaginateResponse"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/shared.BaseErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/access/sync-keycloak-role": {
|
||||
"post": {
|
||||
"tags": [
|
||||
@@ -895,6 +939,34 @@
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"access.ListRolePermissionPaginateResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/access.RolePermissionModel"
|
||||
}
|
||||
},
|
||||
"paging": {
|
||||
"$ref": "#/definitions/shared.PaginationInfo"
|
||||
}
|
||||
}
|
||||
},
|
||||
"access.RolePermissionModel": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"isActive": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"access.SyncKeycloakRoleRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -1531,6 +1603,32 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"shared.PaginationInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"currentPage": {
|
||||
"type": "integer"
|
||||
},
|
||||
"hasNext": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"hasPrev": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"limit": {
|
||||
"type": "integer"
|
||||
},
|
||||
"offset": {
|
||||
"type": "integer"
|
||||
},
|
||||
"total": {
|
||||
"type": "integer"
|
||||
},
|
||||
"totalPages": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"spesialis.SpesialisModel": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user