openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GWY_LIST_REG_PROGRAMS:
    post:
      tags:
      - SGWY
      operationId: /rfc/GWY_LIST_REG_PROGRAMS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DISCONNECT:
                  type: string
                  maxLength: 1
                  description: Terminate connection
                GWHOST:
                  type: string
                  maxLength: 255
                GWSERV:
                  type: string
                  maxLength: 20
                NOREG:
                  type: string
                  maxLength: 1
                REG_PROGRAMS:
                  type: array
                  items:
                    type: object
                    properties:
                      TPNAME:
                        type: string
                        maxLength: 128
                        description: Longer transaction program name
                      TOTAL:
                        type: integer
                        format: int32
                        description: Number of registrations of a program
                      INIT:
                        type: integer
                        format: int32
                        description: Number of registrations of a program
                      WAITING:
                        type: integer
                        format: int32
                        description: Number of registrations of a program
                      RUNNING:
                        type: integer
                        format: int32
                        description: Number of registrations of a program
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  REG_PROGRAMS:
                    type: array
                    items:
                      type: object
                      properties:
                        TPNAME:
                          type: string
                          maxLength: 128
                          description: Longer transaction program name
                        TOTAL:
                          type: integer
                          format: int32
                          description: Number of registrations of a program
                        INIT:
                          type: integer
                          format: int32
                          description: Number of registrations of a program
                        WAITING:
                          type: integer
                          format: int32
                          description: Number of registrations of a program
                        RUNNING:
                          type: integer
                          format: int32
                          description: Number of registrations of a program
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
