openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STU3_ADMIN_SWITCH_DB_CON:
    post:
      tags:
      - STU3_ADMIN
      summary: Switch DB connection to another DB2 member
      operationId: /rfc/STU3_ADMIN_SWITCH_DB_CON
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MAX_WAIT_TIME:
                  type: string
                  maxLength: 10
                  description: Max. wait time for switch to complete in seconds
                NEW_DB_CON:
                  type: string
                  maxLength: 32
                  description: Defined DB2 connections (in connect.ini)
                NEW_HOST:
                  type: string
                  maxLength: 32
                  description: New host name (only relevant for SAP app servers on z/OS)
                SWITCH_ALL_APP_SERVERS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Character Field Length 1
                WAIT_FOR_COMPLETION:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Wait until all connections have switched
              required:
              - NEW_DB_CON
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
