To validate the application.yml
configuration file, open a command-line interpreter in the bin
folder of the cagw-util
tool and run the following command.
cagw-util validate-yaml <APPLICATION_YML>
Where <APPLICATION_YML>
is the path of the application.yml
configuration file – for example:
$ cagw-util validate-yaml application.yml
Validating YML File...
YAML File is Valid but only in syntax, content has not been evaluated.
When detecting any error, the tool returns detailed information – for example:
$ cagw-util validate-yaml application.yml
Validating YML File...
YAML File failed to validate: mapping values are not allowed here
in 'reader', line 51, column 21:
properties: