openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ECATT_FUNCTION_STUB_GENERATE:
    post:
      tags:
      - SETRM
      operationId: /rfc/ECATT_FUNCTION_STUB_GENERATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FUNCNAME:
                  type: string
                  maxLength: 30
                IC_MODE:
                  type: string
                  default: X
                  maxLength: 1
                SOURCE:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 72
                        description: Program Line in ABAP Format
              required:
              - FUNCNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SOURCE:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 72
                          description: Program Line in ABAP Format
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
