Skip to content

Redoc.init callback not working on error #2233

Open
@broccolism

Description

@broccolism

Describe the bug
Callback function registered on Redoc.init is not called on error while rendering redoc.

Redoc.init(
  event.data,
  config,
  document.getElementById('redoc-container'),
  callback ---> doesn't seem to be called.
);

If something's wrong in my code, please tell me how to apply callback function on error.

Expected behavior
Callback function should be called on error.
image

Minimal reproducible OpenAPI snippet(if possible)

Screenshots
image

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions