openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STUO_GET_ENVIRONMENT:
    post:
      tags:
      - STUO
      operationId: /rfc/STUO_GET_ENVIRONMENT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DB_OPERATINGSYSTEM:
                  type: string
                  maxLength: 10
                  description: R/3 System, Name of Central Database System
                TARGETSYSTEM:
                  type: string
                  maxLength: 1024
                PROT_TAB:
                  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:
              - TARGETSYSTEM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PROT_TAB:
                    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.
