openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RFC_GET_TABLE_ENTRIES:
    post:
      tags:
      - RFC1
      summary: Read table entries
      operationId: /rfc/RFC_GET_TABLE_ENTRIES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BYPASS_BUFFER:
                  type: string
                  default: ' '
                  maxLength: 1
                FROM_KEY:
                  type: string
                  default: ' '
                  maxLength: 72
                GEN_KEY:
                  type: string
                  default: ' '
                  maxLength: 72
                  description: Generic key
                MAX_ENTRIES:
                  type: integer
                  format: int32
                  default: 0
                TABLE_NAME:
                  type: string
                  maxLength: 30
                  description: Table Name
                TO_KEY:
                  type: string
                  default: ' '
                  maxLength: 72
                ENTRIES:
                  type: array
                  items:
                    type: object
                    properties:
                      WA:
                        type: string
                        maxLength: 512
                        description: Character field length 512
              required:
              - TABLE_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NUMBER_OF_ENTRIES:
                    type: integer
                    format: int32
                  ENTRIES:
                    type: array
                    items:
                      type: object
                      properties:
                        WA:
                          type: string
                          maxLength: 512
                          description: Character field length 512
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
