瀏覽代碼

Fix: #5669 online validator badge (#5909)

* fix: enable online validator badge

since online validator badge now can handle OAS3 specs
bubble
Tim Lai 4 年之前
committed by GitHub
父節點
當前提交
10b08af5ec
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      src/core/plugins/oas3/wrap-components/online-validator-badge.js

+ 3
- 3
src/core/plugins/oas3/wrap-components/online-validator-badge.js 查看文件

@@ -1,5 +1,5 @@
import { OAS3ComponentWrapFactory } from "../helpers"
import OnlineValidatorBadge from "core/components/online-validator-badge"

// We're disabling the Online Validator Badge until the online validator
// can handle OAS3 specs.
export default OAS3ComponentWrapFactory(() => null)
// OAS3 spec is now supported by the online validator.
export default OAS3ComponentWrapFactory(OnlineValidatorBadge)

Loading…
取消
儲存