openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_SEGMENT_INFO_ORA:
    post:
      tags:
      - SORA
      summary: Segment Information from dba_segments
      operationId: /rfc/GET_SEGMENT_INFO_ORA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SEGMENT_NAME:
                  type: string
                  maxLength: 81
              required:
              - SEGMENT_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SEG:
                    type: object
                    properties:
                      OWNER:
                        type: string
                        maxLength: 30
                        description: Segment owner
                      SEG_NAME:
                        type: string
                        maxLength: 81
                        description: Segment name
                      SEG_TYPE:
                        type: string
                        maxLength: 17
                        description: Segment type
                      TSP_NAME:
                        type: string
                        maxLength: 30
                        description: Tablespace name
                      HD_FILE:
                        type: integer
                        format: int64
                        description: Header file number
                      HD_BLKS:
                        type: integer
                        format: int64
                        description: Header block number
                      BYTES:
                        type: integer
                        format: int64
                        description: Segment bytes
                      BLOCKS:
                        type: integer
                        format: int64
                        description: Segment blocks
                      EXTENTS:
                        type: integer
                        format: int64
                        description: Segment number of extents
                      INI_EXT:
                        type: integer
                        format: int64
                        description: Initial extent
                      NEXT_EXT:
                        type: integer
                        format: int64
                        description: Next extent
                      MINEXTS:
                        type: integer
                        format: int64
                        description: Min extents
                      MAXEXTS:
                        type: integer
                        format: int64
                        description: Max extents
                      PCT_INC:
                        type: integer
                        format: int64
                        description: Pct inc
                      FLISTS:
                        type: integer
                        format: int64
                        description: Free lists
                      FLIST_G:
                        type: integer
                        format: int64
                        description: Free list groups
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
