openapi: 3.0.0 info: title: SAP API version: 1.0.0 servers: - url: http://localhost:8080 paths: /rfc/DB6_DIAG_READ_FILE: post: tags: - SDB6DIAG summary: 'DB6: read local file/dataset' operationId: /rfc/DB6_DIAG_READ_FILE requestBody: content: application/json: schema: properties: CONNECTION: type: string maxLength: 30 description: Logical name for a database connection FILE: type: string maxLength: 255 description: 'DB2 Universal Database: File path' LOCATION: type: string maxLength: 1 description: One-byte flag PARTITN: type: integer format: int32 description: 'DB2 Universal Database: File path' PATH: type: string maxLength: 255 description: 'DB2 Universal Database: File path' CONTENT: type: array items: type: object properties: LENGTH: type: string maxLength: 3 description: Length of protocol message in external program MESSAGE: type: string maxLength: 128 description: Log message from external program required: - FILE - LOCATION - PARTITN - PATH responses: '200': description: OK content: application/json: schema: properties: CONTENT: type: array items: type: object properties: LENGTH: type: string maxLength: 3 description: Length of protocol message in external program MESSAGE: type: string maxLength: 128 description: Log message from external program '400': description: Bad request. 5XX: description: Unexpected error.