openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_GETENV:
    post:
      tags:
      - SDB6PM
      summary: 'DB6: Read Environment'
      operationId: /rfc/DB6_PM_GETENV
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                ENV_NAME:
                  type: string
                  maxLength: 255
                  description: Name of environment variable
              required:
              - ENV_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ENV_LOCATION:
                    type: string
                    maxLength: 255
                    description: Location where value was read
                  ENV_VALUE:
                    type: string
                    maxLength: 255
                    description: Value of environment variable
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
