openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_INDEX_EXISTS:
    post:
      tags:
      - TREX_RFC_ADMINISTRATION
      summary: Check if index exists
      operationId: /rfc/TREX_RFC_INDEX_EXISTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INDEXES:
                  type: array
                  items:
                    type: object
                    properties:
                      INDEX_ID:
                        type: string
                        format: byte
                        description: ''
                INDEX_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      INDEX_ID:
                        type: string
                        format: byte
                        description: ''
                      INDEXSERVER_LOCATION:
                        type: string
                        format: byte
                        description: ''
                      RETURN_CODE:
                        type: integer
                        format: int64
                        description: ''
                      RETURN_TEXT:
                        type: string
                        format: byte
                        description: ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Returncode
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Returntext
                  INDEXES:
                    type: array
                    items:
                      type: object
                      properties:
                        INDEX_ID:
                          type: string
                          format: byte
                          description: ''
                  INDEX_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        INDEX_ID:
                          type: string
                          format: byte
                          description: ''
                        INDEXSERVER_LOCATION:
                          type: string
                          format: byte
                          description: ''
                        RETURN_CODE:
                          type: integer
                          format: int64
                          description: ''
                        RETURN_TEXT:
                          type: string
                          format: byte
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
