openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SRET_GET_SIMILAR_TERMS:
    post:
      tags:
      - SRQU
      operationId: /rfc/SRET_GET_SIMILAR_TERMS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IT_TERMS:
                  type: array
                  items:
                    type: object
                    properties:
                      TERM_NAME:
                        type: string
                        maxLength: 255
                        description: Term Name
                I_CATID:
                  type: string
                  maxLength: 32
                  description: Search index
                I_RELATION:
                  type: string
                  maxLength: 64
                  description: Relationship
              required:
              - IT_TERMS
              - I_CATID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_RESULT_TERMS:
                    type: array
                    items:
                      type: object
                      properties:
                        TERM_NAME:
                          type: string
                          maxLength: 255
                          description: Term Name
                        RELATION:
                          type: string
                          maxLength: 64
                          description: Relationship
                        RANK_VALUE:
                          type: integer
                          format: int64
                          description: Rank in the hit list
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
