openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/VMC_INFO:
    post:
      tags:
      - VMC_FB
      operationId: /rfc/VMC_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                VMLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      VM_HANDLE:
                        type: integer
                        format: int32
                        description: Number of the Java VM
                      WP_NUMBER:
                        type: integer
                        format: int32
                        description: Index of Work Process
                      VM_TYPE:
                        type: integer
                        format: int32
                        description: VM Type
                      VM_STATE:
                        type: integer
                        format: int32
                        description: VM State
                      VM_CPU:
                        type: integer
                        format: int64
                        description: Virtual Machine CPU
                      VM_APPL:
                        type: string
                        maxLength: 256
                        description: 'VM: Application Currently Running'
                      VM_USED_BYTES:
                        type: integer
                        format: int64
                        description: 'VM: Memory Consumption (MB)'
                      VM_DEBUG_STATE:
                        type: integer
                        format: int32
                        description: 'VM: Debugging State'
                      VM_DEBUG_PORT:
                        type: integer
                        format: int32
                        description: 'VM: Debug Port'
                      VM_USED_TIME:
                        type: string
                        maxLength: 8
                        description: Start Time of Last Request
                      VM_USER:
                        type: string
                        maxLength: 12
                        description: User Currently Served
                      VM_SGC_STATE:
                        type: integer
                        format: int32
                        description: VM State of the Shared Garbage Collector (SGC)
                      VM_SGC_WAITING:
                        type: integer
                        format: int32
                        description: VM Shared GC Waiting
                      VM_LOCKS:
                        type: integer
                        format: int32
                        description: Number of Cross-VM Locks
                      VM_TRACE:
                        type: integer
                        format: int32
                        description: VM-Specific Trace
                      VM_LWP:
                        type: integer
                        format: int32
                        description: Last process in which VM was active
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACT_VM_COUNT:
                    type: integer
                    format: int32
                  MAX_VM_COUNT:
                    type: integer
                    format: int32
                  MAX_VM_USED_COUNT:
                    type: integer
                    format: int32
                  MIN_VM_COUNT:
                    type: integer
                    format: int32
                  VMLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        VM_HANDLE:
                          type: integer
                          format: int32
                          description: Number of the Java VM
                        WP_NUMBER:
                          type: integer
                          format: int32
                          description: Index of Work Process
                        VM_TYPE:
                          type: integer
                          format: int32
                          description: VM Type
                        VM_STATE:
                          type: integer
                          format: int32
                          description: VM State
                        VM_CPU:
                          type: integer
                          format: int64
                          description: Virtual Machine CPU
                        VM_APPL:
                          type: string
                          maxLength: 256
                          description: 'VM: Application Currently Running'
                        VM_USED_BYTES:
                          type: integer
                          format: int64
                          description: 'VM: Memory Consumption (MB)'
                        VM_DEBUG_STATE:
                          type: integer
                          format: int32
                          description: 'VM: Debugging State'
                        VM_DEBUG_PORT:
                          type: integer
                          format: int32
                          description: 'VM: Debug Port'
                        VM_USED_TIME:
                          type: string
                          maxLength: 8
                          description: Start Time of Last Request
                        VM_USER:
                          type: string
                          maxLength: 12
                          description: User Currently Served
                        VM_SGC_STATE:
                          type: integer
                          format: int32
                          description: VM State of the Shared Garbage Collector (SGC)
                        VM_SGC_WAITING:
                          type: integer
                          format: int32
                          description: VM Shared GC Waiting
                        VM_LOCKS:
                          type: integer
                          format: int32
                          description: Number of Cross-VM Locks
                        VM_TRACE:
                          type: integer
                          format: int32
                          description: VM-Specific Trace
                        VM_LWP:
                          type: integer
                          format: int32
                          description: Last process in which VM was active
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
