openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PIG_EASY_CHART:
    post:
      tags:
      - SPIG
      operationId: /rfc/PIG_EASY_CHART
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FORMAT:
                  type: integer
                  format: int32
                  default: 0
                HEIGHT:
                  type: integer
                  format: int32
                  default: 200
                LEGEND:
                  type: string
                  default: DEFAULT
                  maxLength: 20
                SCHEME:
                  type: string
                  default: DEFAULT
                  maxLength: 20
                TITLE:
                  type: string
                  default: ''
                  maxLength: 20
                TYP:
                  type: string
                  default: PIE
                  maxLength: 20
                USE_DB:
                  type: string
                  default: ' '
                  maxLength: 1
                VALUES:
                  type: string
                  maxLength: 30000
                WIDTH:
                  type: integer
                  format: int32
                  default: 320
                CONTENT:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: MIME data container
                IMAGEMAP:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: HTML container
              required:
              - FORMAT
              - HEIGHT
              - LEGEND
              - SCHEME
              - TITLE
              - TYP
              - USE_DB
              - VALUES
              - WIDTH
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTENT_ID:
                    type: string
                    maxLength: 32
                  CONTENT_LENGTH:
                    type: integer
                    format: int32
                  CONTENT_TYPE:
                    type: string
                    maxLength: 128
                  CONTENT:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: MIME data container
                  IMAGEMAP:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: HTML container
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
