openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPTUNE_BUFFERED_MENUS:
    post:
      tags:
      - STUB
      operationId: /rfc/SAPTUNE_BUFFERED_MENUS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BUFFER_CONTENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      INDEX:
                        type: integer
                        format: int32
                        description: Index in CUA buffer
                      SIZE:
                        type: integer
                        format: int32
                        description: Object size in CUA buffer (in bytes)
                      USAGE:
                        type: integer
                        format: int32
                        description: Use counter for CUA object
                      STATE:
                        type: string
                        maxLength: 1
                        description: Status of a CUA object
                      TYPE:
                        type: string
                        maxLength: 1
                        description: CUA object type
                      PROGNAME:
                        type: string
                        maxLength: 40
                        description: Name of program/report for CUA object
                      STATUS:
                        type: string
                        maxLength: 20
                        description: 'Menus: Status name'
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: 'Texts: Language key'
      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 CUA buffer
                        SIZE:
                          type: integer
                          format: int32
                          description: Object size in CUA buffer (in bytes)
                        USAGE:
                          type: integer
                          format: int32
                          description: Use counter for CUA object
                        STATE:
                          type: string
                          maxLength: 1
                          description: Status of a CUA object
                        TYPE:
                          type: string
                          maxLength: 1
                          description: CUA object type
                        PROGNAME:
                          type: string
                          maxLength: 40
                          description: Name of program/report for CUA object
                        STATUS:
                          type: string
                          maxLength: 20
                          description: 'Menus: Status name'
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: 'Texts: Language key'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
