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_v2 #252

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

Lint Errors: job_batches_v2 #252

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

Severity Location Problem Message
warning line 148:41 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 Example value must conform to the schema: 0 property must NOT have unevaluated properties hasError.
warning line 156:41 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 Example value must conform to the schema: 1 property must NOT have unevaluated properties hasError.
warning line 54:25 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 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 Example value must conform to the schema: authorized property type must be boolean.
warning line 254:25 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 Example value must conform to the schema: errors property type must be array.
warning line 515: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 516:23 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 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