diff --git a/packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/Request/_Request.scss b/packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/Request/_Request.scss index 80e9f0c42..8b1d135d0 100644 --- a/packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/Request/_Request.scss +++ b/packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/Request/_Request.scss @@ -114,6 +114,11 @@ } } +.openapi-security__summary-container { + background: var(--ifm-pre-background); + border-radius: var(--ifm-pre-border-radius); +} + // Prevent auto zoom on mobile iOS devices when focusing on input elmenents @media screen and (-webkit-min-device-pixel-ratio: 0) and (max-device-width: 1024px) { .prism-code, diff --git a/packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/index.tsx b/packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/index.tsx index a5de7190d..1272effd7 100644 --- a/packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/index.tsx +++ b/packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/index.tsx @@ -10,6 +10,7 @@ import React from "react"; import CodeSnippets from "@theme/ApiExplorer/CodeSnippets"; import Request from "@theme/ApiExplorer/Request"; import Response from "@theme/ApiExplorer/Response"; +import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; import { ApiItem } from "docusaurus-plugin-openapi-docs/src/types"; import sdk from "postman-collection"; @@ -24,6 +25,7 @@ function ApiExplorer({ return ( <> + {item.method !== "event" && (