smart-data-models/data-models

How to automatically generate the model.yaml and swagger.yaml

dzgrief opened this issue · 3 comments

Is there any tool or script that can automatically generate model.yaml file from schema.json?

Is the swagger.yaml file automatically generated from model.yaml and schema.json?

image

image

yes we have couple of scriptsfor the creation of the model.yaml and for the swagger.yaml.

you have now published the scripts (they are not meant for sharing the code, so they are not properly documented).
in this folder https://github.com/smart-data-models/data-models/tree/master/utils you have the script starting with 10 for the model generation and the one starting by 50 of the swagger generation. Additionally you have a version for the creation of the documentation (the one starting with 20)

I'll be glad to know more what you need please send me an email at info@smartdatamodels.org