diff --git a/src/main/java/io/projectdiscovery/nuclei/util/SchemaUtils.java b/src/main/java/io/projectdiscovery/nuclei/util/SchemaUtils.java index 109d599..e198c5f 100644 --- a/src/main/java/io/projectdiscovery/nuclei/util/SchemaUtils.java +++ b/src/main/java/io/projectdiscovery/nuclei/util/SchemaUtils.java @@ -123,7 +123,7 @@ private static Map retrieveYamlFieldWithDescriptions(InputStream final Map parsedJsonSchema = gson.fromJson(inputStreamReader, type); - final Map definitions = (Map) parsedJsonSchema.get("definitions"); + final Map definitions = (Map) parsedJsonSchema.get("$defs"); for (Map.Entry definitionEntry : definitions.entrySet()) { final Map properties = ((Map) definitionEntry.getValue()).get("properties");