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: data of POST /auth/bootstrap/create
      properties:
        id:
          type: integer
          format: int64
          description: Super-admin account ID
        username:
          type: string
          description: Login username
        realname:
          type: string
          description: Real name
        email:
          type: string
          description: Email
        primaryRoleName:
          type: string
          description: Bound system super-admin role name (optional)
          examples:
            - Super administrator
        activeState:
          allOf:
            - $ref: '#/components/schemas/ActiveState'
          description: Enabled status,一般为 enabled
      x-apifox-orders:
        - id
        - username
        - realname
        - email
        - primaryRoleName
        - activeState
      x-apifox-folder: ''
    ActiveState:
      type: string
      enum:
        - enabled
        - disabled
      description: Active state (aligned with common/consts.ActiveState)
      x-apifox-folder: ''
  securitySchemes: {}
servers: []
security: []