openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CCDSNU_CALL_DSNACCMD:
    post:
      tags:
      - S_CCDSNU_DB2
      summary: Calls DSNACCMD to submit a DB2 command
      operationId: /rfc/CCDSNU_CALL_DSNACCMD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DB2_COMMAND:
                  type: string
                  maxLength: 256
                  description: Command to be submitted
                COMMAND_OUTPUT:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 72
                        description: The SQL statement text
              required:
              - DB2_COMMAND
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  COMMAND_OUTPUT:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 72
                          description: The SQL statement text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
