openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_INFO_DBSPACES_INF:
    post:
      tags:
      - SDBI
      operationId: /rfc/GET_INFO_DBSPACES_INF
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TAB_DBS:
                  type: array
                  items:
                    type: object
                    properties:
                      DBSNAME:
                        type: string
                        maxLength: 18
                        description: DBSpace Name
                      DBSNO:
                        type: integer
                        format: int32
                        description: 'INFORMIX: (Internal) ''dbspace'' number'
                      TOTAL_SZ:
                        type: integer
                        format: int32
                        description: 'INFORMIX: Size of a ''dbspace'' in KB'
                      FREE_SZ:
                        type: integer
                        format: int32
                        description: 'INFORMIX: Freespace in a ''dbspace'' (KB)'
                      N_CHUNKS:
                        type: integer
                        format: int32
                        description: 'INFORMIX: Number of ''chunks'' (for a ''dbspace'')'
                      N_TABS:
                        type: integer
                        format: int32
                        description: 'INFORMIX: Number of tables (in a ''dbspace'')'
                      DBS_FL:
                        type: integer
                        format: int32
                        description: 'INFORMIX: ''dbspace'' flag (onine, ...)'
                      MIRROR:
                        type: string
                        maxLength: 1
                        description: 'INFORMIX: Is the ''dbspace'' mirrored? (y/n)'
                      TMP_FL:
                        type: string
                        maxLength: 1
                        description: 'INFORMIX: Is the ''dbspace'' temp.? (y/n)'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TAB_DBS:
                    type: array
                    items:
                      type: object
                      properties:
                        DBSNAME:
                          type: string
                          maxLength: 18
                          description: DBSpace Name
                        DBSNO:
                          type: integer
                          format: int32
                          description: 'INFORMIX: (Internal) ''dbspace'' number'
                        TOTAL_SZ:
                          type: integer
                          format: int32
                          description: 'INFORMIX: Size of a ''dbspace'' in KB'
                        FREE_SZ:
                          type: integer
                          format: int32
                          description: 'INFORMIX: Freespace in a ''dbspace'' (KB)'
                        N_CHUNKS:
                          type: integer
                          format: int32
                          description: 'INFORMIX: Number of ''chunks'' (for a ''dbspace'')'
                        N_TABS:
                          type: integer
                          format: int32
                          description: 'INFORMIX: Number of tables (in a ''dbspace'')'
                        DBS_FL:
                          type: integer
                          format: int32
                          description: 'INFORMIX: ''dbspace'' flag (onine, ...)'
                        MIRROR:
                          type: string
                          maxLength: 1
                          description: 'INFORMIX: Is the ''dbspace'' mirrored? (y/n)'
                        TMP_FL:
                          type: string
                          maxLength: 1
                          description: 'INFORMIX: Is the ''dbspace'' temp.? (y/n)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
