Skip to content

Generate yaml template out of schema json #104

Answered by jochenchrist
flokr asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

The current datacontract init uses the template https://datacontract.com/datacontract.init.yaml

You can specify a template (that you can maintain which follows your conventions and schema) using the --template property.

datacontract init --template my-custom-template.yaml

Hope this helps.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@flokr
Comment options

Answer selected by flokr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants