# SuccessResponse

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    Point:
      type: array
      minItems: 2
      maxItems: 2
      items:
        type: integer
        minimum: 0
      x-apifox-folder: ''
    DragSolution:
      type: object
      required:
        - box
      properties:
        box:
          type: array
          items:
            type: object
            required:
              - start
              - end
            properties:
              start: &ref_0
                $ref: '#/components/schemas/Point'
              end: *ref_0
            x-apifox-orders:
              - start
              - end
      x-apifox-orders:
        - box
      x-apifox-folder: ''
    ClickSolution:
      type: object
      required:
        - box
      properties:
        box:
          type: array
          minItems: 2
          description: 每两个字符串依次组成一个 x、y 坐标。
          items:
            type: string
            pattern: ^\d+$
      x-apifox-orders:
        - box
      x-apifox-folder: ''
    GridSolution:
      type: object
      required:
        - objects
      properties:
        objects:
          type: array
          minItems: 9
          maxItems: 9
          items:
            type: boolean
      x-apifox-orders:
        - objects
      x-apifox-folder: ''
    SuccessResponse:
      type: object
      required:
        - errorId
        - errorCode
        - errorDescription
        - status
        - taskId
        - solution
      properties:
        errorId:
          type: integer
          enum:
            - 0
        errorCode:
          type: string
          examples:
            - ''
        errorDescription:
          type: string
          examples:
            - ''
        status:
          type: string
          enum:
            - ready
        taskId:
          type: string
          format: uuid
        solution:
          oneOf:
            - $ref: '#/components/schemas/GridSolution'
            - $ref: '#/components/schemas/ClickSolution'
            - $ref: '#/components/schemas/DragSolution'
      x-apifox-orders:
        - errorId
        - errorCode
        - errorDescription
        - status
        - taskId
        - solution
      x-apifox-folder: ''
  securitySchemes: {}
servers: []
security: []

```
