datacontract / datacontract-cli

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

Add jsonschema export handling for empty subfields #219

Closed hcrosse closed 1 month ago

hcrosse commented 1 month ago

Ref https://github.com/datacontract/datacontract-cli/issues/218

This PR allows for jsonschema export of object-typed fields that contain no subfields.

simonharrer commented 1 month ago

Can you add a test, please? And perhaps add a CHANGELOG entry as well? That would be great. Otherwise, great catch. Thank you already. :-)

simonharrer commented 1 month ago

Great work. Thank you again! :-)