diff --git a/src/core/plugins/oas3/wrap-components/index.js b/src/core/plugins/oas3/wrap-components/index.js index b752ea47..409b2dc9 100644 --- a/src/core/plugins/oas3/wrap-components/index.js +++ b/src/core/plugins/oas3/wrap-components/index.js @@ -1,11 +1,13 @@ import Markdown from "./markdown" import parameters from "./parameters" import VersionStamp from "./version-stamp" +import OnlineValidatorBadge from "./online-validator-badge" import Model from "./model" export default { Markdown, parameters, VersionStamp, - model: Model + model: Model, + onlineValidatorBadge: OnlineValidatorBadge } diff --git a/src/core/plugins/oas3/wrap-components/online-validator-badge.js b/src/core/plugins/oas3/wrap-components/online-validator-badge.js new file mode 100644 index 00000000..63750943 --- /dev/null +++ b/src/core/plugins/oas3/wrap-components/online-validator-badge.js @@ -0,0 +1,6 @@ +import React from "react" +import { OAS3ComponentWrapFactory } from "../helpers" + +// We're disabling the Online Validator Badge until the online validator +// can handle OAS3 specs. +export default OAS3ComponentWrapFactory(() => null)