diff --git a/packages/docusaurus-theme-openapi-docs/src/theme/ParamsItem/index.tsx b/packages/docusaurus-theme-openapi-docs/src/theme/ParamsItem/index.tsx index 1763c4220..ae28a5365 100644 --- a/packages/docusaurus-theme-openapi-docs/src/theme/ParamsItem/index.tsx +++ b/packages/docusaurus-theme-openapi-docs/src/theme/ParamsItem/index.tsx @@ -12,17 +12,6 @@ import SchemaTabs from "@theme/SchemaTabs"; import TabItem from "@theme/TabItem"; /* eslint-disable import/no-extraneous-dependencies*/ import clsx from "clsx"; -import { createDescription } from "docusaurus-theme-openapi-docs/lib/markdown/createDescription"; -/* eslint-disable import/no-extraneous-dependencies*/ -import { - getQualifierMessage, - getSchemaName, -} from "docusaurus-theme-openapi-docs/lib/markdown/schema"; -/* eslint-disable import/no-extraneous-dependencies*/ -import { - guard, - toString, -} from "docusaurus-theme-openapi-docs/lib/markdown/utils"; import ReactMarkdown from "react-markdown"; import rehypeRaw from "rehype-raw"; @@ -48,6 +37,7 @@ export interface Props { examples: Map; name: string; required: boolean; + deprecated: boolean; schema: any; }; }