-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding a yaml and json schema for no code users #51
Comments
Hi! Sorry, I've never really used Issues in Github, so I don't look here...but I should, this is a great suggestion and would be very helpful! |
So, it would be super nice to be able to generate this automatically from the TypeScript interface definitions. For example, this file has the definition of a GraphObject (a general class of things on a graph), while this file has the definition of a Point, which is a type of GraphObject. It would, in short, be nice if there were a utility designed to take these TypeScript definitions and convert them into a Yaml/JSON schema. Do you know if such a thing exists? |
This would be cool, a quick Google search led me to find these:
I think both of these could be chained together or maybe one of them is enough. Let me know if you start working on this, I would be interested to contribute here. |
Very cool! This is very far from my area of expertise, and I could see wasting many hours with little success…so yes, if you want to see if you can get something to work, by all means go for it and I can help provide guidance! I’ll also put it on the back burner in case one of my CS major students wants to help out. :)On Aug 6, 2023, at 2:51 PM, KorigamiK ***@***.***> wrote:
This would be cool, a quick Google search led me to find these:
https://github.com/vega/ts-json-schema-generator
https://bikcrum.github.io/Swagger-JSON-Schema-In-YAML_webversion/
I think both of these could be chained together or maybe one of them is enough. Let me know if you start working on this, I would be interested to contribute here.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were assigned.Message ID: ***@***.***>
|
I'm loving this project.
Being able to create these graphics in plain yaml is amazing.
What I want to propose (if there isn't already a way) to have the schema for the entire specification
be available.
A schema allows for nice autocomplete/intellisense in many IDE's.
This article
descibes what I mean to say.
I'd love for you to look into this
The text was updated successfully, but these errors were encountered: