Redocly/redoc

Redoc.init callback not working on error

オープン

#2,233 opened on 2022/12/09

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (2,272 件のフォーク)batch import
Type: Bughelp wanted

Repository metrics

Stars
 (21,877 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

Minimal reproducible OpenAPI snippet(if possible)

Screenshots

Additional context Add any other context about the problem here.

コントリビューターガイド