Skip to content

Commit

Permalink
fix: isRef meta data prop for inline refHandling (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
toomuchdesign authored Sep 18, 2023
1 parent 79feb32 commit 9e0a222
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/purple-ducks-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openapi-ts-json-schema': patch
---

Fix `isRef` meta data prop for inline refHandling
2 changes: 1 addition & 1 deletion src/openapiToTsJsonSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export async function openapiToTsJsonSchema({
outputPath,
schemaPatcher,
refHandling,
isRef: false,
isRef: inlinedRefs.has(id),
});
}
}
Expand Down

0 comments on commit 9e0a222

Please sign in to comment.