openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GFW_PROG_MINIAPP:
    post:
      tags:
      - SGFW
      summary: 'GFW: How to get a graphic into a Miniapp (ABAP Objects Interface)'
      operationId: /rfc/GFW_PROG_MINIAPP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FORMAT:
                  type: integer
                  format: int32
                  description: See IF_GRAPHIC_PROXY~EXPORT
                HEIGHT:
                  type: integer
                  format: int32
                  description: see if_graphic_proxy~Export
                WIDTH:
                  type: integer
                  format: int32
                  description: See IF_GRAPHIC_PROXY~EXPORT
                CONTENT:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: MIME data container
              required:
              - FORMAT
              - HEIGHT
              - WIDTH
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTENT_LENGTH:
                    type: integer
                    format: int32
                    description: see if_graphic_proxy~Export
                  CONTENT_TYPE:
                    type: string
                    maxLength: 120
                    description: see if_graphic_proxy~Export
                  CONTENT:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: MIME data container
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
