openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPTUNE_BUFFERED_SCREENS:
    post:
      tags:
      - STUB
      operationId: /rfc/SAPTUNE_BUFFERED_SCREENS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BUFFER_CONTENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      INDEX:
                        type: integer
                        format: int32
                        description: Index in PRES buffer
                      SIZE:
                        type: integer
                        format: int32
                        description: Size of an object in the presentation buffer
                      USED:
                        type: integer
                        format: int32
                        description: Use counter
                      ACTIVEFLAG:
                        type: string
                        maxLength: 1
                        description: 'Active entry  enumValues: D=Active,-=Not active'
                        enum:
                        - D
                        - '-'
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      PROGRAM:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      DYNPRO:
                        type: string
                        maxLength: 4
                        description: Screen name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BUFFER_CONTENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        INDEX:
                          type: integer
                          format: int32
                          description: Index in PRES buffer
                        SIZE:
                          type: integer
                          format: int32
                          description: Size of an object in the presentation buffer
                        USED:
                          type: integer
                          format: int32
                          description: Use counter
                        ACTIVEFLAG:
                          type: string
                          maxLength: 1
                          description: 'Active entry  enumValues: D=Active,-=Not active'
                          enum:
                          - D
                          - '-'
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        PROGRAM:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        DYNPRO:
                          type: string
                          maxLength: 4
                          description: Screen name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
