openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_SYSCAT_GET_BUFFERPOOLS:
    post:
      tags:
      - SDB6CAT
      summary: 'DB6: get SYSCAT.BUFFERPOOLS'
      operationId: /rfc/DB6_SYSCAT_GET_BUFFERPOOLS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                BUFFERPOOLS:
                  type: array
                  items:
                    type: object
                    properties:
                      BP_NAME:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      BP_ID:
                        type: integer
                        format: int32
                        description: 'DB2 Universal Database: Partition Number'
                      NGNAME:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      NPAGES:
                        type: integer
                        format: int64
                        description: 'DB2 Universal Database: Number of Buffer Pages'
                      PAGESIZE:
                        type: integer
                        format: int32
                        description: 'DB2 Universal Database: Size of Single Buffer Page'
                      ESTORE:
                        type: string
                        maxLength: 1
                        description: 'DB2 Universal Database: Use of Extended Storage (Y/N)'
                      NUMBLKPAGE:
                        type: integer
                        format: int64
                        description: ''
                      BLOCKSIZE:
                        type: integer
                        format: int32
                        description: ''
                      AUTOSIZE:
                        type: string
                        maxLength: 1
                        description: ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BUFFERPOOLS:
                    type: array
                    items:
                      type: object
                      properties:
                        BP_NAME:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        BP_ID:
                          type: integer
                          format: int32
                          description: 'DB2 Universal Database: Partition Number'
                        NGNAME:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        NPAGES:
                          type: integer
                          format: int64
                          description: 'DB2 Universal Database: Number of Buffer Pages'
                        PAGESIZE:
                          type: integer
                          format: int32
                          description: 'DB2 Universal Database: Size of Single Buffer Page'
                        ESTORE:
                          type: string
                          maxLength: 1
                          description: 'DB2 Universal Database: Use of Extended Storage (Y/N)'
                        NUMBLKPAGE:
                          type: integer
                          format: int64
                          description: ''
                        BLOCKSIZE:
                          type: integer
                          format: int32
                          description: ''
                        AUTOSIZE:
                          type: string
                          maxLength: 1
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
