Skip to content

Commit

Permalink
Fix display of nested oneOfs
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Jan 13, 2025
1 parent fbc318a commit 5ac923b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/openapi/OperationInputValue.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ export function PropertyValue({
}

const hasSubSchema =
schema.properties || schema.additionalProperties || schema.items;
schema.properties ||
schema.additionalProperties ||
schema.items ||
schema.oneOf;

return (
<li key={name}>
Expand Down

0 comments on commit 5ac923b

Please sign in to comment.