Skip to content

Commit 85e7d73

Browse files
authored
Fix schema output missing when using allOf within array items (PaloAltoNetworks#1197)
1 parent 76bfb5b commit 85e7d73

File tree

1 file changed

+1
-1
lines changed
  • packages/docusaurus-theme-openapi-docs/src/theme/Schema

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ const SchemaEdge: React.FC<SchemaEdgeProps> = ({
672672
);
673673
}
674674

675-
if (schema.items?.anyOf || schema.items?.oneOf) {
675+
if (schema.items?.anyOf || schema.items?.oneOf || schema.items?.allOf) {
676676
return (
677677
<SchemaNodeDetails
678678
name={name}

0 commit comments

Comments
 (0)