openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PIG_GET_CHART:
    post:
      tags:
      - SGRAPHICS
      summary: Retrieves picture from DB
      operationId: /rfc/PIG_GET_CHART
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTENT_ID:
                  type: string
                  maxLength: 32
                  description: Content ID (GUID)
                DELETE:
                  type: string
                  default: X
                  maxLength: 1
                  description: Delete chart from DB?
                CONTENT:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: MIME data container
              required:
              - CONTENT_ID
              - DELETE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTENT_LENGTH:
                    type: integer
                    format: int32
                    description: Content length
                  CONTENT_TYPE:
                    type: string
                    maxLength: 128
                    description: Content type
                  CONTENT:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: MIME data container
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
