Thanks to visit codestin.com
Credit goes to github.com

Skip to content

stack trace in later versions of 2.0rc #1340

@jnardone

Description

@jnardone

Starting in 2.0.0-rc32 or rc33 our generated documentation (which comes out of joi-to-swagger) the content no longer renders.

It simply shows

TypeError: Cannot read property 'style' of undefined
    at new e (https://mysite.io/static/redoc/redoc.standalone.js:2:742095)
    at https://mysite.io/static/redoc/redoc.standalone.js:2:749211
    at Array.map (<anonymous>)
    at e.get (https://mysite.io/static/redoc/redoc.standalone.js:2:749187)
    at e.get (https://mysite.io/static/redoc/redoc.standalone.js:2:723358)
    at https://mysite.io/static/redoc/redoc.standalone.js:2:911527
    at hs (https://mysite.io/static/redoc/redoc.standalone.js:2:498576)
    at sl (https://mysite.io/static/redoc/redoc.standalone.js:2:487712)
    at il (https://mysite.io/static/redoc/redoc.standalone.js:2:487637)
    at Ks (https://mysite.io/static/redoc/redoc.standalone.js:2:484667)

Is this a known problem? How would I troubleshoot this? The stack trace with the minified assets that we serve this with are not easy to dig through. Is there documentation on how to investigate the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions