Skip to content

Commit

Permalink
Merge pull request #957 from PaloAltoNetworks/security-schemes
Browse files Browse the repository at this point in the history
Add missing security schemes component
  • Loading branch information
sserrata authored Sep 10, 2024
2 parents 961aecd + a6ec3a5 commit 90595c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";

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

return (
<>
<SecuritySchemes infoPath={infoPath} />
{item.method !== "event" && (
<CodeSnippets
postman={postman}
Expand Down

0 comments on commit 90595c0

Please sign in to comment.