Skip to content
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

Lint Errors: job_batches_v1 #251

Open
DmitryMasley opened this issue Oct 15, 2024 · 0 comments
Open

Lint Errors: job_batches_v1 #251

DmitryMasley opened this issue Oct 15, 2024 · 0 comments

Comments

@DmitryMasley
Copy link

DmitryMasley commented Oct 15, 2024

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_v1/job_batches_endpoints.yaml

Severity Location Problem Message
warning line 147:41 no-invalid-media-type-examples Example value must conform to the schema: authorized property type must be boolean.
warning line 150:29 no-invalid-media-type-examples Example value must conform to the schema: 0 property must NOT have unevaluated properties hasError.
warning line 155:41 no-invalid-media-type-examples Example value must conform to the schema: authorized property type must be boolean.
warning line 158:29 no-invalid-media-type-examples Example value must conform to the schema: 1 property must NOT have unevaluated properties hasError.
warning line 53:25 no-invalid-media-type-examples Example value must conform to the schema: errors property type must be array.
warning line 213:29 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 215:37 no-invalid-media-type-examples Example value must conform to the schema: authorized property type must be boolean.
warning line 256:25 no-invalid-media-type-examples Example value must conform to the schema: errors property type must be array.
warning line 329:25 no-invalid-media-type-examples Example value must conform to the schema: errors property type must be array.
warning line 511:21 no-invalid-media-type-examples Example value must conform to the schema: must have required property 'code'.
warning line 511:21 no-invalid-media-type-examples Example value must conform to the schema: must have required property 'data'.
warning line 511:21 no-invalid-media-type-examples Example value must conform to the schema: must NOT have unevaluated properties response.
warning line 529:25 no-invalid-media-type-examples Example value must conform to the schema: errors property type must be array.
warning line 551:25 no-invalid-media-type-examples Example value must conform to the schema: errors property type must be array.
warning line 738:29 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 739:23 no-invalid-media-type-examples Example value must conform to the schema: data property type must be object.
warning line 752:25 no-invalid-media-type-examples Example value must conform to the schema: errors property type must be array.
PavelLoparev added a commit that referenced this issue Oct 23, 2024
* JOBSBATCH-213 #251 #252 Partially fixed warnings in the Batch API

* JOBSBATCH-213 #251 #252 Fixed warnings in the Batch API

---------

Co-authored-by: Loparev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant