Skip to content

Envelope

Schema:Envelope

OpenAPI Specification

yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    Envelope:
      type: object
      description: 统一成功/失败包络
      required:
        - code
        - respMsg
      properties:
        code:
          type: string
          description: 业务码;成功固定 000000,失败见 ErrorCodes
          examples:
            - '000000'
        respMsg:
          type: string
          description: 提示文案;成功多为 success
          examples:
            - success
        data:
          type: string
      x-apifox-orders:
        - code
        - respMsg
        - data
      x-apifox-folder: ''
  securitySchemes: {}
servers: []
security: []