openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_GET_DATABASES:
    post:
      tags:
      - SFMSS_DBUTIL
      summary: Get all databases in an instance
      operationId: /rfc/MSS_GET_DATABASES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: DBCON name
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Target Schema
                ALL_DATABASES:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 128
                        description: Database name
                      ACCESS:
                        type: string
                        maxLength: 3
                        description: 'YES/NO: access to DB permitted/denied'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ALL_DATABASES:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 128
                          description: Database name
                        ACCESS:
                          type: string
                          maxLength: 3
                          description: 'YES/NO: access to DB permitted/denied'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
