openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STREX_SIMILAR_TERMS_GET:
    post:
      tags:
      - STREX_TEXT_MINING
      operationId: /rfc/STREX_SIMILAR_TERMS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INDICES:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: GUID in 'CHAR' Format in Uppercase
                      LAISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      CODE_PAGE:
                        type: string
                        description: Character Set ID
                      EXT_ENGINE:
                        type: string
                        description: Alias for External Search Engine
                MAX_TERMS:
                  type: integer
                  format: int32
                TERMS:
                  type: array
                  items:
                    type: object
                    properties:
                      TERM_NAME:
                        type: string
                        description: ''
                      WEIGHT:
                        type: integer
                        format: int64
                        description: 'Decimal Number: 0.0 to 1.0'
              required:
              - INDICES
              - MAX_TERMS
              - TERMS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CALL_RETURN_CODE:
                    type: object
                    properties:
                      RETURN_CODE:
                        type: integer
                        format: int32
                        description: ''
                      ERROR_TEXT:
                        type: string
                        description: ''
                  CODE_PAGE:
                    type: string
                    description: Character Set ID
                  SIMILAR_TERMS:
                    type: array
                    items:
                      type: object
                      properties:
                        TERM_NAME:
                          type: string
                          description: ''
                        RANK_VALUE:
                          type: integer
                          format: int64
                          description: 'Decimal Number: 0.0 to 1.0'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
