Skip to content
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

Required Service Config Fields Not Enforced #118

Open
linux4life798 opened this issue Mar 13, 2018 · 1 comment
Open

Required Service Config Fields Not Enforced #118

linux4life798 opened this issue Mar 13, 2018 · 1 comment
Labels

Comments

@linux4life798
Copy link
Member

The service config (single) item is totally free-form and has no schema validation at the REST side, so it is up to the website to make use of the required config parameters and manage schema.

The website is not enforcing the required field flag and does not "unset" fields that are optional+blank.

@linux4life798
Copy link
Member Author

It actually generates a config that could be considered malformed.

This is what is generated when you fill in none of the config boxes. Notice there are no "value" items.

"config":[{"key":"Required1"},{"key":"Optional1"},{"key":"Required2"},{"key":"Optional2"}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant