openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_READ_TEXT_FILE:
    post:
      tags:
      - SFMSS_ANALYZE
      summary: Read a text file on sql server host
      operationId: /rfc/MSS_READ_TEXT_FILE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name for a database connection
                FILEPATH:
                  type: string
                  maxLength: 255
                  description: Full file path and name.
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Schema name
                LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 3000
                        description: ''
              required:
              - FILEPATH
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 3000
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
