Skip to content

Commit 90595c0

Browse files
authored
Merge pull request #957 from PaloAltoNetworks/security-schemes
Add missing security schemes component
2 parents 961aecd + a6ec3a5 commit 90595c0

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/Request/_Request.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@
114114
}
115115
}
116116

117+
.openapi-security__summary-container {
118+
background: var(--ifm-pre-background);
119+
border-radius: var(--ifm-pre-border-radius);
120+
}
121+
117122
// Prevent auto zoom on mobile iOS devices when focusing on input elmenents
118123
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-device-width: 1024px) {
119124
.prism-code,

packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import React from "react";
1010
import CodeSnippets from "@theme/ApiExplorer/CodeSnippets";
1111
import Request from "@theme/ApiExplorer/Request";
1212
import Response from "@theme/ApiExplorer/Response";
13+
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
1314
import { ApiItem } from "docusaurus-plugin-openapi-docs/src/types";
1415
import sdk from "postman-collection";
1516

@@ -24,6 +25,7 @@ function ApiExplorer({
2425

2526
return (
2627
<>
28+
<SecuritySchemes infoPath={infoPath} />
2729
{item.method !== "event" && (
2830
<CodeSnippets
2931
postman={postman}

0 commit comments

Comments
 (0)