We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5390e1 commit 3be00d8Copy full SHA for 3be00d8
src/main/kotlin/net/pwall/json/schema/codegen/CodeGenerator.kt
@@ -1118,7 +1118,7 @@ class CodeGenerator(
1118
customClassesByExtension.find { it.match(schema) }?.let {
1119
return it.applyToTarget(target)
1120
}
1121
- schema.uri?.resolve("#${schema.location}")?.let { uri ->
+ schema.uri?.resolve(schema.location.toURIFragment())?.let { uri ->
1122
customClassesByURI.find { uri.resolve(it.uri) == uri }?.let {
1123
1124
0 commit comments