Skip to content

Commit 7dd7580

Browse files
refactor: remove duplicate ref resolving in object serializer builder (#537)
1 parent 61e2f19 commit 7dd7580

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,6 @@ function buildExtraObjectPropertiesSerializer (location) {
304304
}
305305

306306
function buildInnerObject (location) {
307-
if (location.schema.$ref) {
308-
location = resolveRef(location, location.schema.$ref)
309-
}
310-
311307
const schema = location.schema
312308
const required = schema.required || []
313309

0 commit comments

Comments
 (0)