openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPO_TCP_OPEN:
    post:
      tags:
      - LPRF
      operationId: /rfc/RSPO_TCP_OPEN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DTYPE:
                  type: string
                  maxLength: 8
                  description: 'Spool: Device type name'
                PORTNO:
                  type: string
                  maxLength: 5
                TEMPFILE:
                  type: string
                  maxLength: 20
                  description: Temporary file name (if created)
              required:
              - DTYPE
              - PORTNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  HANDLE:
                    type: string
                    maxLength: 10
                    description: Temporary file name (if created)
                  RETCODE:
                    type: string
                    maxLength: 1
                    description: Temporary file name (if created)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
