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: glossary_v3 #249

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

Lint Errors: glossary_v3 #249

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

For all APIs

Screenshot 2024-10-21 at 14 43 59

Success responses often don't have a response object.

Lint: spec/glossary_v3/ie_endpoints.yaml

Severity Location Problem Message
error line 176:15 spec Property response is not expected here.
warning line 80:21 no-invalid-media-type-examples Example value must conform to the schema: must have required property 'code'.
warning line 137:21 no-invalid-media-type-examples Example value must conform to the schema: must have required property 'code'.

Lint: spec/glossary_v3/label_endpoints.yaml

Severity Location Problem Message
error line 50:15 spec Property response is not expected here.
error line 94:15 spec Property response is not expected here.
error line 129:15 spec Property response is not expected here.

Lint: spec/glossary_v3/g_common.yaml

Severity Location Problem Message
warning line 544:21 no-invalid-media-type-examples Example value must conform to the schema: errors property type must be array.
warning line 559:21 no-invalid-media-type-examples Example value must conform to the schema: errors property type must be array.
warning line 574:21 no-invalid-media-type-examples Example value must conform to the schema: errors property type must be array.
warning line 589:21 no-invalid-media-type-examples Example value must conform to the schema: errors property type must be array.
warning line 604:21 no-invalid-media-type-examples Example value must conform to the schema: errors property type must be array.
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