Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Find a good YAML schema form #51

Open
baruchiro opened this issue Jan 25, 2021 · 6 comments
Open

Find a good YAML schema form #51

baruchiro opened this issue Jan 25, 2021 · 6 comments
Labels
Config Config Issue Feature Feature request/new feature Keep-Open Review-Required Further review required Status:Stale

Comments

@baruchiro
Copy link
Contributor

With YAML Schema, it is easy to know which data we can write.

Actually, for JSON Schema there are a lot of auto generator engines for creating a form to build the JSON.

I think if someone knows about a generator for YAML it will be good.

Examples:

You know what? Maybe we can use a JSON builder and convert the output to YAML?

@tprasadtp tprasadtp added Config Config Issue Feature Feature request/new feature Review-Required Further review required labels Jan 26, 2021
@tprasadtp
Copy link
Owner

Its a good idea. But is it worth the effort? no offense, but you can easily use sample yaml provided as a template and just edit it. most effort would be writing the apt and other package/urls. even with the forms this step will still be manual. I wont be adding this feature, but if you have javascript experience and are willing to work on it I will be happy to accept any contributions.

@baruchiro
Copy link
Contributor Author

I also prefer to not invest a lot of time and maintenance for that.

I think we can define a schema for YAML/JSON, and use an existing tool that auto-generating a UI to create it.

So maybe as I said, use one of the JSON tools, and convert the JSON to YAML.

But you see the time takes me to answer? I don't think I will have time soon to do that.

@github-actions
Copy link

github-actions bot commented Jun 9, 2021

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@TejasAvinashShetty
Copy link

Keeping this alive

@schmunk42
Copy link

@baruchiro You wrote in the initial comment

https://github.com/json-editor/json-editor: I think it the most known library, used by Swagger

Could you point me to the place where it is used by Swagger?

@baruchiro
Copy link
Contributor Author

Sorry, 3 years ago, I'm not going to search for something that may not exist anymore 😔

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Config Config Issue Feature Feature request/new feature Keep-Open Review-Required Further review required Status:Stale
Projects
None yet
Development

No branches or pull requests

4 participants