openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GWY_GET_NO_REG_PROGRAMS:
    post:
      tags:
      - SGWY
      operationId: /rfc/GWY_GET_NO_REG_PROGRAMS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DISCONNECT:
                  type: string
                  maxLength: 1
                  description: Terminate connection
                GWHOST:
                  type: string
                  maxLength: 255
                  description: Gateway host name
                GWSERV:
                  type: string
                  maxLength: 20
                  description: Gateway service name
                TPNAME:
                  type: string
                  maxLength: 128
                  description: Name of the regisered program
              required:
              - TPNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NOREG_INIT:
                    type: integer
                    format: int32
                    description: Number of registrations in status INIT
                  NOREG_RUNNING:
                    type: integer
                    format: int32
                    description: Number of registrations in status RUNNING
                  NOREG_TOTAL:
                    type: integer
                    format: int32
                    description: Total number of registrations
                  NOREG_WAITING:
                    type: integer
                    format: int32
                    description: Number of registrations in status WAITING
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
