json schema $ref request address contains separator (':') , NTFS ADS separator (':') in file name is forbidden.
haojava opened this issue · comments
jsonschema2pojo-maven-plugin version:1.2.1
json shcema file:
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.com/tree",
"type": "object",
"properties": {
"products": {
"type": "array",
"items": {
"$ref": "https://example.com/tree/urn:jsonschema:tree:definition"
}
}
}
}
jsonschema2pojo resolving exceptions:NTFS ADS separator (':') in file name is forbidden.
Hi
It's not quite clear whether there is intent is to resolve $ref
through URN (urn:jsonschema:tree:definition
) or URN "resolution" is done on the server-side serving https://example.com/tree/urn:jsonschema:tree:definition
.
In case it's former, then fixing NTFS ADS separator (':') in file name is forbidden.
won't help as there's no URN resolution support, see: