OpenSlides/docs/modelsvalidator
Finn Stutzenstein 0eaad10f11
Remodel the projector
2021-02-16 10:37:20 +01:00
..
check Remodel the projector 2021-02-16 10:37:20 +01:00
README.md Removed redundant information from models.yml and adjusted validator 2020-12-17 10:30:15 +01:00
go.mod Use openslides-models-to-go 2021-01-06 11:32:16 +01:00
go.sum Use openslides-models-to-go 2021-01-06 11:32:16 +01:00
main.go Use openslides-models-to-go 2021-01-06 11:32:16 +01:00

README.md

Modelsvalidator

Modelsvalidator is a tool to validate the models.yml file

Run

Build first: go build ./....

The tool requires the content of the models.yml. It can be provided via stdin, a file system path or an url starting with http:// or https://.

cat models.yml | modelsvalidator
modelsvalidator openslides/docs/models.yml
modelsvalidator https://raw.githubusercontent.com/OpenSlides/OpenSlides/openslides4-dev/docs/models.yml

The tool returns with status code 0 and no content, if the given content is valid. It returns with a positive status code and some error messages if not.