openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALV_WD_EXPORT_PDF:
    post:
      tags:
      - SALV_WD_EXPORT_PDF
      operationId: /rfc/SALV_WD_EXPORT_PDF
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ADSTYPE:
                  type: string
                PDF_REQUESTED:
                  type: string
                  maxLength: 1
                PRINT_REQUESTED:
                  type: string
                  maxLength: 1
                XDCNAME:
                  type: string
                XML:
                  type: string
                  format: byte
              required:
              - PDF_REQUESTED
              - PRINT_REQUESTED
              - XML
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PDF:
                    type: string
                    format: byte
                  PRINT:
                    type: string
                    format: byte
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
