Skip to content

Commit 6d96eef

Browse files
committed
Remove unnecessary comments
1 parent 878d379 commit 6d96eef

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/spec/openapi/utils.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,7 @@ function resolveCommonParams (container, parameters, schema, ref, sharedSchemas,
303303
arr.forEach(swaggerSchema => parameters.push(swaggerSchema))
304304
}
305305

306-
// Keys to references could be different than the name of the $ref,
307-
// for example `def-0`
308306
function findReferenceDescription (rawSchema, ref) {
309-
// FIXME: Resolve directly?
310307
const resolvedReference = ref.resolve(rawSchema, { externalSchemas: [ref.definitions().definitions] })
311308

312309
// Ref has format `#/definitions/id`

0 commit comments

Comments
 (0)