openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPO_TEST_RFC_STORE:
    post:
      tags:
      - SPOL
      operationId: /rfc/RSPO_TEST_RFC_STORE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DEST:
                  type: string
                  default: '*'
                  maxLength: 4
                  description: Output device
                NAME0:
                  type: string
                  default: LIST1S
                  maxLength: 6
                  description: Name of spool request (DSN)
                NAME1:
                  type: string
                  default: RFC
                  maxLength: 4
                  description: Name of spool request (suffix 1)
                NAME2:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: Name of spool request (suffix 2)
                NEED_SYSLOG:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Write sysLog entry?
                SPOOL_TITLE:
                  type: string
                  default: via RFC
                  maxLength: 68
                  description: Title of spool request
                WITH_PING:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Use PING trick
                DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 72
                        description: Text editor text line
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 72
                          description: Text editor text line
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
