RapiPdf
RapiPdf copied to clipboard
content application/json in header return error : rapipdf-min.js:33145 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'deprecated')
RapiPdf is failing to generate the PDF when a parameter is encoded
/org:
get:
tags:
- org
summary: Return list of Account
operationId: getAccounts
parameters:
- name: AccountSchema
in: header
content:
application/json:
schema:
$ref: '#/components/schemas/AccountSchema'
- $ref: '#/components/parameters/CaseNumber'
responses:
default:
$ref: '#/components/responses/Failure'
200:
description: List of Account
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/AccountSchema'
401:
$ref: '#/components/responses/Unauthorized'
this is the error
rapipdf-min.js:33145 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'deprecated')
at rapipdf-min.js:33145:1
at Array.map (<anonymous>)
at y (rapipdf-min.js:33145:1)
at E (rapipdf-min.js:33145:1)
at rapipdf-min.js:33145:1
at Array.map (<anonymous>)
at M (rapipdf-min.js:33145:1)
at A (rapipdf-min.js:33145:1)
at A.next (<anonymous>)
at m (rapipdf-min.js:33145:1)