openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SOTR_IDX_SEARCH_DEMO:
    post:
      tags:
      - SOTR_IDX_1
      summary: SOTR Long Text Search for TEST Interface (TEST)
      operationId: /rfc/SOTR_IDX_SEARCH_DEMO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGU:
                  type: string
                  default: E
                  maxLength: 1
                STRING:
                  type: string
                  default: REFERENCE
                  maxLength: 255
                DEVTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                RESULT_DOKIL:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 2
                        description: Document class
                      OBJECT:
                        type: string
                        maxLength: 60
                        description: Documentation Object
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Documentation language
                      TYP:
                        type: string
                        maxLength: 1
                        description: Documentation type
                      VERSION:
                        type: integer
                        format: int64
                        description: Version of Documentation Module
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      TXTLINES:
                        type: integer
                        format: int64
                        description: Number of Text Lines in Line Table
                      DOKSTATE:
                        type: string
                        maxLength: 1
                        description: Status of documentation module
                      SELFDEF:
                        type: string
                        maxLength: 1
                        description: 'Object documentation status  enumValues: 1=Object does not appear in a screen,2=Not yet documented,""=Space: object requires documentation,3=The short text describes the object sufficiently'
                        enum:
                        - '1'
                        - '2'
                        - ''
                        - '3'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NUMOFHITS:
                    type: integer
                    format: int64
                  DEVTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                  RESULT_DOKIL:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 2
                          description: Document class
                        OBJECT:
                          type: string
                          maxLength: 60
                          description: Documentation Object
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Documentation language
                        TYP:
                          type: string
                          maxLength: 1
                          description: Documentation type
                        VERSION:
                          type: integer
                          format: int64
                          description: Version of Documentation Module
                        MASTERLANG:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        TXTLINES:
                          type: integer
                          format: int64
                          description: Number of Text Lines in Line Table
                        DOKSTATE:
                          type: string
                          maxLength: 1
                          description: Status of documentation module
                        SELFDEF:
                          type: string
                          maxLength: 1
                          description: 'Object documentation status  enumValues: 1=Object does not appear in a screen,2=Not yet documented,""=Space: object requires documentation,3=The short text describes the object sufficiently'
                          enum:
                          - '1'
                          - '2'
                          - ''
                          - '3'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
