datacontract / datacontract-cli

CLI to manage your datacontract.yaml files
https://cli.datacontract.com
Other
352 stars 60 forks source link

test: add roundtrip test for jsonschema #259

Closed cornzyblack closed 2 weeks ago

cornzyblack commented 2 weeks ago

211

Add test for jsonschema

cornzyblack commented 2 weeks ago

Hi @jochenchrist, when testing, I noticed that a "#" was added to the URL in the $schema during the export to jsonschema.

Here is an image of what I mean

image

Will appreciate any feedback. Thanks!

cornzyblack commented 2 weeks ago

Hi @simonharrer, I have fixed the issue by appending # to the $schema field in the orders.json file

image

Test pass locally now

image
jochenchrist commented 2 weeks ago

Nice, thanks for your contribution.