openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LST_WDA_TEXTBYLANG_OTR:
    post:
      tags:
      - LST_WDA
      summary: given language and metadata, returns text
      operationId: /rfc/LST_WDA_TEXTBYLANG_OTR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPLICATION_NAME:
                  type: string
                  maxLength: 30
                  description: 'Web Dynpro: Application Name'
                ELEMENT_NAME:
                  type: string
                  maxLength: 132
                  description: 'Web Dynpro: Name of a UI Element'
                LANGU:
                  type: string
                  maxLength: 1
                  description: Language Key
                TEXT_TYPE:
                  type: string
                  maxLength: 30
                  description: type of text, as given in properties
                VIEW_NAME:
                  type: string
                  maxLength: 30
                  description: 'Web Dynpro: Name of a Web Dynpro View'
              required:
              - APPLICATION_NAME
              - ELEMENT_NAME
              - LANGU
              - TEXT_TYPE
              - VIEW_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TEXT:
                    type: string
                    maxLength: 255
                    description: Text Field in the OTR
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
