We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdefdba commit a26f87aCopy full SHA for a26f87a
packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/index.tsx
@@ -22,7 +22,11 @@ function ApiExplorer({
22
infoPath: string;
23
}) {
24
const postman = new sdk.Request(
25
- item.postman ? (item.postman as any).toJSON() : {}
+ item.postman
26
+ ? sdk.Request.isRequest(item.postman)
27
+ ? (item.postman as any).toJSON()
28
+ : (item.postman as any)
29
+ : {}
30
);
31
32
return (
0 commit comments