openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_INCLUDE_READ:
    post:
      tags:
      - SIFP
      operationId: /rfc/RPY_INCLUDE_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INCLUDE_NAME:
                  type: string
                  maxLength: 40
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                SOURCE:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 72
                        description: 'EDIC: Program editor line'
                TEXTELEMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 1
                        description: ABAP/4 text pool ID (selection text/numbered text)
                      KEY:
                        type: string
                        maxLength: 8
                        description: Text element key (number/selection name)
                      ENTRY:
                        type: string
                        maxLength: 255
                        description: Language-dependent text in ABAP/4 text pool
                      LENGTH:
                        type: integer
                        format: int32
                        description: Reserved length for text (with language reserve)
              required:
              - INCLUDE_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SOURCE:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 72
                          description: 'EDIC: Program editor line'
                  TEXTELEMENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 1
                          description: ABAP/4 text pool ID (selection text/numbered text)
                        KEY:
                          type: string
                          maxLength: 8
                          description: Text element key (number/selection name)
                        ENTRY:
                          type: string
                          maxLength: 255
                          description: Language-dependent text in ABAP/4 text pool
                        LENGTH:
                          type: integer
                          format: int32
                          description: Reserved length for text (with language reserve)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
