Skip to content

Commit 57d08c9

Browse files
committed
FIX(fix): rm serialization because ref changes.
1 parent e81470e commit 57d08c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

express-zod-api/src/documentation-helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ const fixReferences = (
408408
const depiction = defs[actualName];
409409
if (depiction) {
410410
entry.$ref = ctx.makeRef(
411-
depiction.id || JSON.stringify(depiction), // id is unique, serialization here is safe
411+
depiction.id || depiction,
412412
ensureCompliance(depiction),
413413
).$ref;
414414
}

0 commit comments

Comments
 (0)