openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DBA_SOLMAN_SETUP_SYSTEM:
    post:
      tags:
      - SDBA_SOLMAN
      summary: 'DBA Cockpit: Setup of database connections for SolMan'
      operationId: /rfc/DBA_SOLMAN_SETUP_SYSTEM
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ADA_2ND_PASSWORD:
                  type: string
                  maxLength: 30
                  description: Password for setting up the connection to the database
                ADA_2ND_USERNAME:
                  type: string
                  maxLength: 30
                  description: Database User
                DB2_COLLECTION_ID:
                  type: string
                  maxLength: 128
                  description: Connection identifier
                DB6_SERVICE_NAME:
                  type: string
                  maxLength: 14
                  description: Text field length 14
                DBHOST:
                  type: string
                  maxLength: 255
                  description: Name of Current Application Server
                DBNAME:
                  type: string
                  maxLength: 255
                  description: Name of the SAP System
                DBSCHEMA:
                  type: string
                  maxLength: 128
                  description: 128 character
                DBSYS:
                  type: string
                  maxLength: 3
                  description: Central Database System
                ORA_TNSNAME:
                  type: string
                  maxLength: 14
                  description: Text field length 14
                PASSWORD:
                  type: string
                  maxLength: 30
                  description: Password for setting up the connection to the database
                SW_COMPONENT:
                  type: string
                  maxLength: 128
                  description: 128 character
                USERNAME:
                  type: string
                  maxLength: 30
                  description: 'SAP DB: Database Users'
                MESSAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      TEXT:
                        type: string
                        maxLength: 500
                        description: ''
              required:
              - DBHOST
              - DBNAME
              - DBSYS
              - PASSWORD
              - USERNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONNECTION:
                    type: string
                    maxLength: 30
                    description: Logical name for a database connection
                  GENERATED:
                    type: string
                    maxLength: 1
                    description: Single-Character Flag
                  TESTED:
                    type: string
                    maxLength: 1
                    description: Single-Character Flag
                  MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        TEXT:
                          type: string
                          maxLength: 500
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
