openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_EXEC_SQL:
    post:
      tags:
      - MSSPROCS
      operationId: /rfc/MSS_EXEC_SQL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical Name for a Database Connection
                INTERAKT:
                  type: string
                  default: ' '
                  maxLength: 1
                SOURCETAB:
                  type: array
                  items:
                    type: object
                    properties:
                      PROCNAME:
                        type: string
                        maxLength: 32
                        description: 'MS SQL Server: Stored procedure name'
                      DBRELEASE:
                        type: string
                        maxLength: 3
                        description: 'MS SQL Server : Database Release X.YY.ZZZ  enumValues: 9.0=SQL Server 2005,A.0=SQL Server Katmai,8.0=SQL Server 2000'
                        enum:
                        - '9.0'
                        - A.0
                        - '8.0'
                      REVISION:
                        type: string
                        maxLength: 1
                        description: 'MS SQL Server: Stored procedure revision  enumValues: A=Version of the Stored Procedure Set'
                        enum:
                        - A
                      LINENR:
                        type: integer
                        format: int32
                        description: 'MS SQL Server : Stored procedure line number'
                      SRCLINE:
                        type: string
                        maxLength: 80
                        description: 'MS SQL Server: Stored procedure source code'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SOURCETAB:
                    type: array
                    items:
                      type: object
                      properties:
                        PROCNAME:
                          type: string
                          maxLength: 32
                          description: 'MS SQL Server: Stored procedure name'
                        DBRELEASE:
                          type: string
                          maxLength: 3
                          description: 'MS SQL Server : Database Release X.YY.ZZZ  enumValues: 9.0=SQL Server 2005,A.0=SQL Server Katmai,8.0=SQL Server 2000'
                          enum:
                          - '9.0'
                          - A.0
                          - '8.0'
                        REVISION:
                          type: string
                          maxLength: 1
                          description: 'MS SQL Server: Stored procedure revision  enumValues: A=Version of the Stored Procedure Set'
                          enum:
                          - A
                        LINENR:
                          type: integer
                          format: int32
                          description: 'MS SQL Server : Stored procedure line number'
                        SRCLINE:
                          type: string
                          maxLength: 80
                          description: 'MS SQL Server: Stored procedure source code'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
