Skip to content

Lint Errors: glossary_v3 #249

@DmitryMasley

Description

@DmitryMasley

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions