entur / gbfs-validator-java

European Union Public License 1.2
2 stars 1 forks source link

Fix redundant schema patching #85

Open testower opened 4 months ago

testower commented 4 months ago

The validator computes patched schema twice, once for the validation itself, and then again to attach the schema to the result. The computation should be cached or reused.

See https://github.com/entur/gbfs-validator-java/blob/master/src/main/java/org/entur/gbfs/validation/validator/FileValidator.java#L79