openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LST_WDA_GETCONTEXT:
    post:
      tags:
      - LST_WDA
      summary: strings from same view.
      operationId: /rfc/LST_WDA_GETCONTEXT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPLICATION:
                  type: string
                  maxLength: 30
                  description: 'Web Dynpro: Application Name'
                LANG:
                  type: string
                  maxLength: 1
                  description: Language Key
                VIEW:
                  type: string
                  maxLength: 30
                  description: 'Web Dynpro: Name of a Web Dynpro View'
                DDIC_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      APPLICATION_NAME:
                        type: string
                        maxLength: 30
                        description: 'Web Dynpro: Application Name'
                      VIEW_NAME:
                        type: string
                        maxLength: 30
                        description: 'Web Dynpro: Name of a Web Dynpro View'
                      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
                      ELEMENT_TYPE:
                        type: string
                        maxLength: 60
                        description: ''
                      COMPONENT_NAME:
                        type: string
                        maxLength: 30
                        description: 'Web Dynpro: Component Name'
                      ABAP_TYPE:
                        type: string
                        maxLength: 132
                        description: 'Web Dynpro: ABAP Type of a Parameter/Property'
                      TYPE_FEATURE:
                        type: integer
                        format: int64
                        description: 'Web Dynpro : Property of ABAP DDIC Type  enumValues: 04=Text Header,01=Short Text,06=Visual Length,05=Matching Text,00=No text,02=Medium Text,03=Long Text'
                        enum:
                        - '04'
                        - '01'
                        - '06'
                        - '05'
                        - '00'
                        - '02'
                        - '03'
                      TEXT:
                        type: string
                        maxLength: 60
                        description: text from DDIC object
                OTR_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      APPLICATION_NAME:
                        type: string
                        maxLength: 30
                        description: 'Web Dynpro: Application Name'
                      VIEW_NAME:
                        type: string
                        maxLength: 30
                        description: 'Web Dynpro: Name of a Web Dynpro View'
                      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
                      ELEMENT_TYPE:
                        type: string
                        maxLength: 60
                        description: ''
                      TEXT:
                        type: string
                        maxLength: 255
                        description: Text Field in the OTR
                      COMPONENT_NAME:
                        type: string
                        maxLength: 30
                        description: 'Web Dynpro: Component Name'
                      CONCEPT:
                        type: string
                        maxLength: 32
                        description: Key for Logical Object in the OTR
                      CHAN_NAME:
                        type: string
                        maxLength: 12
                        description: User Name
              required:
              - APPLICATION
              - LANG
              - VIEW
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DDIC_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        APPLICATION_NAME:
                          type: string
                          maxLength: 30
                          description: 'Web Dynpro: Application Name'
                        VIEW_NAME:
                          type: string
                          maxLength: 30
                          description: 'Web Dynpro: Name of a Web Dynpro View'
                        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
                        ELEMENT_TYPE:
                          type: string
                          maxLength: 60
                          description: ''
                        COMPONENT_NAME:
                          type: string
                          maxLength: 30
                          description: 'Web Dynpro: Component Name'
                        ABAP_TYPE:
                          type: string
                          maxLength: 132
                          description: 'Web Dynpro: ABAP Type of a Parameter/Property'
                        TYPE_FEATURE:
                          type: integer
                          format: int64
                          description: 'Web Dynpro : Property of ABAP DDIC Type  enumValues: 04=Text Header,01=Short Text,06=Visual Length,05=Matching Text,00=No text,02=Medium Text,03=Long Text'
                          enum:
                          - '04'
                          - '01'
                          - '06'
                          - '05'
                          - '00'
                          - '02'
                          - '03'
                        TEXT:
                          type: string
                          maxLength: 60
                          description: text from DDIC object
                  OTR_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        APPLICATION_NAME:
                          type: string
                          maxLength: 30
                          description: 'Web Dynpro: Application Name'
                        VIEW_NAME:
                          type: string
                          maxLength: 30
                          description: 'Web Dynpro: Name of a Web Dynpro View'
                        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
                        ELEMENT_TYPE:
                          type: string
                          maxLength: 60
                          description: ''
                        TEXT:
                          type: string
                          maxLength: 255
                          description: Text Field in the OTR
                        COMPONENT_NAME:
                          type: string
                          maxLength: 30
                          description: 'Web Dynpro: Component Name'
                        CONCEPT:
                          type: string
                          maxLength: 32
                          description: Key for Logical Object in the OTR
                        CHAN_NAME:
                          type: string
                          maxLength: 12
                          description: User Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
