openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_TS_PARTITIONS:
    post:
      tags:
      - S390
      summary: Get tablespace partitions for a given tablespace
      operationId: /rfc/GET_TS_PARTITIONS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DBNAME:
                  type: string
                  maxLength: 8
                  description: Database name
                TSNAME:
                  type: string
                  maxLength: 8
                  description: Tablespace name
                SPACE_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      NAM:
                        type: string
                        maxLength: 18
                        description: Database name
                      PARTNR:
                        type: integer
                        format: int32
                        description: Partition number
              required:
              - DBNAME
              - TSNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SPACE_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        NAM:
                          type: string
                          maxLength: 18
                          description: Database name
                        PARTNR:
                          type: integer
                          format: int32
                          description: Partition number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
