open-resource-discovery
open-resource-discovery copied to clipboard
Make Access Strategy from Document and Configuration consistent
Access Strategy in ORD Configuration uses oneOf.
This makes the usage of values that respect the pattern ^([a-z0-9-]+(?:[.][a-z0-9-]+)*):([a-zA-Z0-9._\\-]+):(v0|v[1-9][0-9]*)$ to be marked as invalid. But values defined with respect to that regex pattern should be fine to be used.
The bug is an inconsistency with the Access Strategy in the ORD document, which uses anyOf.
Fix: Both Access Strategy in Document and in Configuration should use anyOf.