`npm run test` script will show linting errors. `npm run test -- --format=stylish` will produce a more compact output grouped by file ## Lint: spec/job_batches_v2/job_batches_endpoints.yaml | Severity | Location | Problem | Message | |---|---|---|---| | warning | line 148:41 | [no-invalid-media-type-examples](https://redocly.com/docs/cli/rules/no-invalid-media-type-examples/) | Example value must conform to the schema: `authorized` property type must be boolean. | | warning | line 151:29 | [no-invalid-media-type-examples](https://redocly.com/docs/cli/rules/no-invalid-media-type-examples/) | Example value must conform to the schema: `0` property must NOT have unevaluated properties `hasError`. | | warning | line 156:41 | [no-invalid-media-type-examples](https://redocly.com/docs/cli/rules/no-invalid-media-type-examples/) | Example value must conform to the schema: `authorized` property type must be boolean. | | warning | line 159:29 | [no-invalid-media-type-examples](https://redocly.com/docs/cli/rules/no-invalid-media-type-examples/) | Example value must conform to the schema: `1` property must NOT have unevaluated properties `hasError`. | | warning | line 54:25 | [no-invalid-media-type-examples](https://redocly.com/docs/cli/rules/no-invalid-media-type-examples/) | Example value must conform to the schema: `errors` property type must be array. | | warning | line 215:29 | [no-invalid-media-type-examples](https://redocly.com/docs/cli/rules/no-invalid-media-type-examples/) | Example value must conform to the schema: `code` property must be equal to one of the allowed values "SUCCESS". | | warning | line 217:37 | [no-invalid-media-type-examples](https://redocly.com/docs/cli/rules/no-invalid-media-type-examples/) | Example value must conform to the schema: `authorized` property type must be boolean. | | warning | line 254:25 | [no-invalid-media-type-examples](https://redocly.com/docs/cli/rules/no-invalid-media-type-examples/) | Example value must conform to the schema: `errors` property type must be array. | | warning | line 324:25 | [no-invalid-media-type-examples](https://redocly.com/docs/cli/rules/no-invalid-media-type-examples/) | Example value must conform to the schema: `errors` property type must be array. | | warning | line 515:29 | [no-invalid-media-type-examples](https://redocly.com/docs/cli/rules/no-invalid-media-type-examples/) | Example value must conform to the schema: `code` property must be equal to one of the allowed values "SUCCESS". | | warning | line 516:23 | [no-invalid-media-type-examples](https://redocly.com/docs/cli/rules/no-invalid-media-type-examples/) | Example value must conform to the schema: `data` property type must be object. | | warning | line 529:25 | [no-invalid-media-type-examples](https://redocly.com/docs/cli/rules/no-invalid-media-type-examples/) | Example value must conform to the schema: `errors` property type must be array. |
npm run testscript will show linting errors.npm run test -- --format=stylishwill produce a more compact output grouped by fileLint: spec/job_batches_v2/job_batches_endpoints.yaml
authorizedproperty type must be boolean.0property must NOT have unevaluated propertieshasError.authorizedproperty type must be boolean.1property must NOT have unevaluated propertieshasError.errorsproperty type must be array.codeproperty must be equal to one of the allowed values "SUCCESS".authorizedproperty type must be boolean.errorsproperty type must be array.errorsproperty type must be array.codeproperty must be equal to one of the allowed values "SUCCESS".dataproperty type must be object.errorsproperty type must be array.