Skip to content

Lint Errors: glossary_v3 #249

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

SeverityLocationProblemMessage
errorline 176:15specProperty response is not expected here.
warningline 80:21no-invalid-media-type-examplesExample value must conform to the schema: must have required property 'code'.
warningline 137:21no-invalid-media-type-examplesExample value must conform to the schema: must have required property 'code'.

Lint: spec/glossary_v3/label_endpoints.yaml

SeverityLocationProblemMessage
errorline 50:15specProperty response is not expected here.
errorline 94:15specProperty response is not expected here.
errorline 129:15specProperty response is not expected here.

Lint: spec/glossary_v3/g_common.yaml

SeverityLocationProblemMessage
warningline 544:21no-invalid-media-type-examplesExample value must conform to the schema: errors property type must be array.
warningline 559:21no-invalid-media-type-examplesExample value must conform to the schema: errors property type must be array.
warningline 574:21no-invalid-media-type-examplesExample value must conform to the schema: errors property type must be array.
warningline 589:21no-invalid-media-type-examplesExample value must conform to the schema: errors property type must be array.
warningline 604:21no-invalid-media-type-examplesExample 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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions