We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
not
Hi, firstly, thanks for this tool; it really simplifies the generation on JsonSchema.
However, I have a problem with the schema definition; I'd like to generate something like
... "not" : { "anyOf" : [ { "required" : ["aaa"] }, { "required" : ["bbb"] } ] } ...
to filter a field coming from a $ref but I can't at the moment because not is missing and required can only be generated inside a properties object (if I understood https://github.com/dadav/helm-schema/blob/main/pkg/schema/schema.go#L359 correctly).
$ref
properties
Is it possible to add them to this tool ?
NOTE: I tried this which work as expected; if you want, I can create a PR to add them with few test cases to validate the behavior
The text was updated successfully, but these errors were encountered:
Thanks for adding the not keyword!
Do you want me to create a new issue about the required keyword?
Sorry, something went wrong.
It's ok, we can still use this issue.
Should be fixed in #55
Successfully merging a pull request may close this issue.
Hi, firstly, thanks for this tool; it really simplifies the generation on JsonSchema.
However, I have a problem with the schema definition; I'd like to generate something like
to filter a field coming from a
$ref
but I can't at the moment becausenot
is missing andrequired
can only be generated inside aproperties
object (if I understood https://github.com/dadav/helm-schema/blob/main/pkg/schema/schema.go#L359 correctly).Is it possible to add them to this tool ?
NOTE: I tried this which work as expected; if you want, I can create a PR to add them with few test cases to validate the behavior
The text was updated successfully, but these errors were encountered: