Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

content application/json in header return error : rapipdf-min.js:33145 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'deprecated') #125

Open
mdaneri opened this issue Oct 19, 2023 · 0 comments

Comments

@mdaneri
Copy link

mdaneri commented Oct 19, 2023

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant