Validate
When ran in a directory of a microservice (a directory containing a microservice.guide), validation will be ran against that file.
omg validate --json
Example output
Valid microservice.yml
No errors
Invalid microservice.yml
actions.add.arguments.x should have required property 'type'
Options
- Silent:
--silentor-s- Only feedback is the exit code (
0or1)
- Only feedback is the exit code (
- JSON:
--jsonor-j- Forms the response in JSON