Skip to content

RbacRoleItem

Schema:RbacRoleItem

OpenAPI Specification

yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    RbacRoleItem:
      type: object
      description: RBAC 角色
      properties:
        id:
          type: integer
          format: int64
          description: 角色 ID
        roleName:
          type: string
          description: 角色名称
        roleDesc:
          type: string
          description: 角色描述
        sortNo:
          type: integer
          description: 排序号
        activeState:
          allOf:
            - $ref: '#/components/schemas/ActiveState'
          description: 启用状态
        isSystem:
          type: integer
          format: int64
          description: 是否系统内置;1=是
      x-apifox-orders:
        - id
        - roleName
        - roleDesc
        - sortNo
        - activeState
        - isSystem
      x-apifox-folder: ''
    ActiveState:
      type: string
      enum:
        - enabled
        - disabled
      description: 启用状态(与 common/consts.ActiveState 一致)
      x-apifox-folder: ''
  securitySchemes: {}
servers: []
security: []