FasterXML / FasterXML/jackson-module-jsonSchema
Default visitor context generates invalid URNs
Offen
- Vorherrschende Sprache
- Java
- Sterne
- 387
- Forks
- 136
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
VisitorContext uses ResolvedType.toCanonical() to create the URN. Problem is implementations of toCanonical in Jackson core types use '<' and '>' to denote type params(e.g. SimpleType). These two characters are excluded from the RFC for URNs: https://www.ietf.org/rfc/rfc2141.txt. Even though you can override the URN generation, I think the default behavior should not generate invalid URNs.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.