get: summary: 获得指定角色的详情 parameters: - $ref: '../parameters/role.yaml#/role_id' responses: 200: description: 角色信息 schema: $ref: "../schemas/role.yaml#/RoleGetResponse" tags: - roles put: summary: 更新指定角色的属性 parameters: - $ref: '../parameters/role.yaml#/role_id' - name: role in: body required: true schema: $ref: "../schemas/role.yaml#/RolePutRequestInput" responses: 200: description: 角色信息 schema: $ref: "../schemas/role.yaml#/RoleGetResponse" tags: - roles delete: summary: 删除指定角色 parameters: - $ref: '../parameters/role.yaml#/role_id' responses: 200: description: 被删除的角色信息 schema: $ref: "../schemas/role.yaml#/RoleGetResponse" tags: - roles