Skip to content

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

Description

@mdaneri

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions