openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GWY_READ_REQUEST_BLOCK:
    post:
      tags:
      - SGWY
      operationId: /rfc/GWY_READ_REQUEST_BLOCK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BLOCK_NO:
                  type: integer
                  format: int32
                DISCONNECT:
                  type: string
                  maxLength: 1
                  description: Terminate connection
                GWHOST:
                  type: string
                  maxLength: 255
                GWSERV:
                  type: string
                  maxLength: 20
                LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      LINES:
                        type: string
                        maxLength: 128
                        description: A line with 128 characters
              required:
              - BLOCK_NO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        LINES:
                          type: string
                          maxLength: 128
                          description: A line with 128 characters
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
