openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_SYSCAT_GET_NODEGROUPS:
    post:
      tags:
      - SDB6CAT
      summary: 'DB6: get SYSCAT.NODEGROUPS/NODEGROUPDEF'
      operationId: /rfc/DB6_SYSCAT_GET_NODEGROUPS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                PARTITN:
                  type: integer
                  format: int32
                  description: Partition Number
                NODEGROUPS:
                  type: array
                  items:
                    type: object
                    properties:
                      DEFINER:
                        type: string
                        maxLength: 255
                        description: 'DB6: File Path'
                      NGNAME:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      PARTITN:
                        type: string
                        maxLength: 4
                        description: 'DB6: Partition Name for Listbox Element'
                      IN_USE:
                        type: string
                        maxLength: 255
                        description: 'DB6: Usage of partitn'
              required:
              - PARTITN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NODEGROUPS:
                    type: array
                    items:
                      type: object
                      properties:
                        DEFINER:
                          type: string
                          maxLength: 255
                          description: 'DB6: File Path'
                        NGNAME:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        PARTITN:
                          type: string
                          maxLength: 4
                          description: 'DB6: Partition Name for Listbox Element'
                        IN_USE:
                          type: string
                          maxLength: 255
                          description: 'DB6: Usage of partitn'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
