Skip to content

BootstrapData

Schema:BootstrapData

OpenAPI Specification

yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    BootstrapData:
      type: object
      description: POST /auth/bootstrap/create 的 data
      properties:
        id:
          type: integer
          format: int64
          description: 超管账号 ID
        username:
          type: string
          description: 登录用户名
        realname:
          type: string
          description: 真实姓名
        email:
          type: string
          description: 邮箱
        primaryRoleName:
          type: string
          description: 绑定系统超管角色的名称(可选)
          examples:
            - 超级管理员
        activeState:
          allOf:
            - $ref: '#/components/schemas/ActiveState'
          description: 启用状态,一般为 enabled
      x-apifox-orders:
        - id
        - username
        - realname
        - email
        - primaryRoleName
        - activeState
      x-apifox-folder: ''
    ActiveState:
      type: string
      enum:
        - enabled
        - disabled
      description: 启用状态(与 common/consts.ActiveState 一致)
      x-apifox-folder: ''
  securitySchemes: {}
servers: []
security: []