openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_DIAG_GET_SOURCE_LOCATION:
    post:
      tags:
      - SDB6DIAG
      summary: 'DB6: get ABAP source'
      operationId: /rfc/DB6_DIAG_GET_SOURCE_LOCATION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONT:
                  type: integer
                  format: int32
                MAIN_PROGRAM:
                  type: string
                  maxLength: 40
              required:
              - CONT
              - MAIN_PROGRAM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LINE:
                    type: integer
                    format: int64
                    description: Line in ABAP program
                  PROGRAM:
                    type: string
                    maxLength: 40
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
