Skip to content
This repository was archived by the owner on Aug 27, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/core/src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ export function optionsList(schema) {

function findSchemaDefinition($ref, definitions = {}) {
// Extract and use the referenced definition if we have it.
const match = /^#\/definitions\/(.*)$/.exec($ref);
const match = /^#(?:\/definitions)?\/(.*)$/.exec($ref);
if (match && match[1]) {
const parts = match[1].split("/");
let current = definitions;
Expand Down