openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPTUNE_GET_STORAGE_INFOS:
    post:
      tags:
      - STUB
      operationId: /rfc/SAPTUNE_GET_STORAGE_INFOS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DESTINATION:
                  type: string
                  default: NONE
                  maxLength: 32
                SHMTABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      SHMKEY:
                        type: integer
                        format: int32
                        description: Integer in SHM_POOLS and SHMTABLE
                      SIZE:
                        type: integer
                        format: int32
                        description: Integer in SHM_POOLS and SHMTABLE
                      PTR:
                        type: integer
                        format: int32
                        description: Integer in SHM_POOLS and SHMTABLE
                      FILL:
                        type: integer
                        format: int32
                        description: Integer in SHM_POOLS and SHMTABLE
                      PATTERN:
                        type: string
                        maxLength: 10
                        description: String with 10 characters in shmtable_s
                      OSKEY:
                        type: string
                        maxLength: 40
                        description: String with 40 characters in shmtable_s
                      HANDLE:
                        type: integer
                        format: int32
                        description: Integer in SHM_POOLS and SHMTABLE
                      ATTACH:
                        type: integer
                        format: int32
                        description: Integer in SHM_POOLS and SHMTABLE
                SHM_POOLS:
                  type: array
                  items:
                    type: object
                    properties:
                      P_NUM:
                        type: integer
                        format: int32
                        description: Integer in SHM_POOLS and SHMTABLE
                      PSIZE:
                        type: integer
                        format: int32
                        description: Integer in SHM_POOLS and SHMTABLE
                      PSIZE_USED:
                        type: integer
                        format: int32
                        description: Integer in SHM_POOLS and SHMTABLE
                      PSIZE_NUSE:
                        type: integer
                        format: int32
                        description: Integer in SHM_POOLS and SHMTABLE
                SHM_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      SHMKEY:
                        type: integer
                        format: int64
                        description: Key number of SAP shared memory according to shmkey.h
                      SHMNAME:
                        type: string
                        maxLength: 40
                        description: Name and/or purpose of a shared memory segment
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ANALYSIS_DATE:
                    type: string
                    format: date
                  ANALYSIS_TIME:
                    type: string
                    maxLength: 6
                  CURSOR_CACHE:
                    type: integer
                    format: int32
                  DW_BSS:
                    type: integer
                    format: int32
                  DW_DATA:
                    type: integer
                    format: int32
                  DW_ERROR:
                    type: integer
                    format: int32
                  DW_TEXT:
                    type: integer
                    format: int32
                  EXT_MEM:
                    type: integer
                    format: int32
                  HEAP_AREA_TOTAL:
                    type: integer
                    format: int64
                  NUM_SHMS:
                    type: integer
                    format: int32
                  OP_SYS:
                    type: string
                    maxLength: 10
                  PAGE_BUFSZ:
                    type: integer
                    format: int32
                  ROLL_AREA:
                    type: integer
                    format: int32
                  SHM_ASIZE_USED:
                    type: integer
                    format: int32
                  SHM_TOTAL:
                    type: integer
                    format: int32
                  SHM_TOTAL_NOT_USED:
                    type: integer
                    format: int32
                  SHM_TOTAL_USED:
                    type: integer
                    format: int32
                  SHORT_ST:
                    type: integer
                    format: int32
                  USE_PAGING:
                    type: integer
                    format: int32
                  VMEM_SIZE:
                    type: integer
                    format: int32
                  VMEM_SIZE_WP:
                    type: integer
                    format: int32
                  WP_ALL:
                    type: integer
                    format: int32
                  WP_NUMBER:
                    type: integer
                    format: int32
                  SHMTABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        SHMKEY:
                          type: integer
                          format: int32
                          description: Integer in SHM_POOLS and SHMTABLE
                        SIZE:
                          type: integer
                          format: int32
                          description: Integer in SHM_POOLS and SHMTABLE
                        PTR:
                          type: integer
                          format: int32
                          description: Integer in SHM_POOLS and SHMTABLE
                        FILL:
                          type: integer
                          format: int32
                          description: Integer in SHM_POOLS and SHMTABLE
                        PATTERN:
                          type: string
                          maxLength: 10
                          description: String with 10 characters in shmtable_s
                        OSKEY:
                          type: string
                          maxLength: 40
                          description: String with 40 characters in shmtable_s
                        HANDLE:
                          type: integer
                          format: int32
                          description: Integer in SHM_POOLS and SHMTABLE
                        ATTACH:
                          type: integer
                          format: int32
                          description: Integer in SHM_POOLS and SHMTABLE
                  SHM_POOLS:
                    type: array
                    items:
                      type: object
                      properties:
                        P_NUM:
                          type: integer
                          format: int32
                          description: Integer in SHM_POOLS and SHMTABLE
                        PSIZE:
                          type: integer
                          format: int32
                          description: Integer in SHM_POOLS and SHMTABLE
                        PSIZE_USED:
                          type: integer
                          format: int32
                          description: Integer in SHM_POOLS and SHMTABLE
                        PSIZE_NUSE:
                          type: integer
                          format: int32
                          description: Integer in SHM_POOLS and SHMTABLE
                  SHM_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        SHMKEY:
                          type: integer
                          format: int64
                          description: Key number of SAP shared memory according to shmkey.h
                        SHMNAME:
                          type: string
                          maxLength: 40
                          description: Name and/or purpose of a shared memory segment
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
