$ref resolver generates unreachable object keys #7169
Labels
area/connectors
Connector related issues
CDK
Connector Development Kit
community
type/bug
Something isn't working
Enviroment
Current Behavior
JSON schema
$ref
resolver naively takes supplied$ref
value and uses it as a verbatim definition key, including forward slashes. However, in JSON schema, forward slash denotes access of object key; therefore, such definitions are unreachable.Expected Behavior
Forward slashes in definition keys should be replaced with safe character, i.e., dash or underscore.
I'm developing a connector for a web service with highly nested data structures, and I want to have JSON schemas mirroring the model structure of that service.
Logs
Schema excerpt
Files:
schemas/some_stream.json
schemas/shared/nested/model/another_schema.json
The text was updated successfully, but these errors were encountered: