-
Notifications
You must be signed in to change notification settings - Fork 27
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
Default values in OpenAPI, patternProperties
are not properly handled
#371
Comments
First of all, I suggest not to use Second, it seems you think of Overall you've faced a triple combo:
The workaround is to define a default for the root object if
|
Expected behavior (what you expected to happen):
The configuration is validated correctly. The default values for the fields in the object defined as
patternProperties
should be in the file pointed to by theVALUES_PATH
variable.Actual behavior (what actually happened):
The configuration is validated correctly. The default values for the fields in the object defined as
patternProperties
are not available in the file pointed to by theVALUES_PATH
variable.Steps to reproduce:
/global-hooks/openapi/config-values.yaml
with the following content:/global-hooks/check-if-child-object-exists.bash
with the following content:msg="\"Child Object exists! {}\""
message in the console log, but you will seemsg="\"Child Object does NOT exist!\""
.Environment:
The text was updated successfully, but these errors were encountered: