Skip to content

Lint errors in common files #253

Description

@DmitryMasley

npm run test script will show linting errors. npm run test -- --format=stylish will produce a more compact output grouped by file

Lint: spec/openapi.yaml

SeverityLocationProblemMessage
warningline 2:1info-licenseInfo object should contain license field.
warningline 13925:21no-invalid-media-type-examplesExample value must conform to the schema: errors property type must be array.
warningline 13944:21no-invalid-media-type-examplesExample value must conform to the schema: errors property type must be array.
warningline 13960:21no-invalid-media-type-examplesExample value must conform to the schema: errors property type must be array.
warningline 660:23no-invalid-media-type-examplesExample value must conform to the schema: data property type must be object.
warningline 784:25no-invalid-media-type-examplesExample value must conform to the schema: data property must have required property 'processUid'.
warningline 789:36no-invalid-media-type-examplesExample value must conform to the schema: errored property type must be string.
warningline 790:38no-invalid-media-type-examplesExample value must conform to the schema: processed property type must be string.
warningline 791:38no-invalid-media-type-examplesExample value must conform to the schema: requested property type must be string.
warningline 792:36no-invalid-media-type-examplesExample value must conform to the schema: skipped property type must be string.
warningline 793:25no-invalid-media-type-examplesExample value must conform to the schema: data property must NOT have unevaluated properties processuid.
warningline 932:29no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties createdDate.
warningline 1036:27no-invalid-media-type-examplesExample value must conform to the schema: items property type must be array.
warningline 1164:27no-invalid-media-type-examplesExample value must conform to the schema: workflowStepUserAssignments property type must be array.
warningline 1233:27no-invalid-media-type-examplesExample value must conform to the schema: workflowStepUserAssignments property type must be array.
warningline 1389:21no-invalid-media-type-examplesExample value must conform to the schema: must have required property 'code'.
warningline 1389:21no-invalid-media-type-examplesExample value must conform to the schema: must have required property 'data'.
warningline 1389:21no-invalid-media-type-examplesExample value must conform to the schema: must NOT have unevaluated properties response.
warningline 1413:25no-invalid-media-type-examplesExample value must conform to the schema: errors property type must be array.
warningline 1534:25no-invalid-media-type-examplesExample value must conform to the schema: data property must NOT have unevaluated properties directives.
warningline 1548:25no-invalid-media-type-examplesExample value must conform to the schema: data property must NOT have unevaluated properties namespace.
warningline 1616:35no-invalid-media-type-examplesExample value must conform to the schema: fileType property must be equal to one of the allowed values "android", "ios", "gettext", "html", "java_properties", "xliff", "xml", "json", "docx", "pptx", "xlsx", "idml", "qt", "resx", "plain_text", "csv", "srt", "stringsdict", "xls", "doc", "ppt", "pres", "madcap", "yaml", "markdown".
warningline 2084:37no-invalid-media-type-examplesExample value must conform to the schema: fileType property must be equal to one of the allowed values "android", "ios", "gettext", "html", "java_properties", "xliff", "xml", "json", "docx", "pptx", "xlsx", "idml", "qt", "resx", "plain_text", "csv", "srt", "stringsdict", "xls", "doc", "ppt", "pres", "madcap", "yaml", "markdown".
warningline 2134:27no-invalid-media-type-examplesExample value must conform to the schema: 1 property must be equal to one of the allowed values "android", "ios", "gettext", "html", "java_properties", "xliff", "xml", "json", "docx", "pptx", "xlsx", "idml", "qt", "resx", "plain_text", "csv", "srt", "stringsdict", "xls", "doc", "ppt", "pres", "madcap", "yaml", "markdown".
warningline 2199:23no-invalid-media-type-examplesExample value must conform to the schema: data property type must be object.
warningline 2903:27no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties created.
warningline 2907:27no-invalid-media-type-examplesExample value must conform to the schema: 1 property must NOT have unevaluated properties created.
warningline 2819:23no-invalid-media-type-examplesExample value must conform to the schema: response property must have required property 'errors'.
warningline 2820:23no-invalid-media-type-examplesExample value must conform to the schema: response property must NOT have unevaluated properties data.
warningline 3024:23no-invalid-media-type-examplesExample value must conform to the schema: response property must NOT have unevaluated properties data.
warningline 3384:23no-invalid-media-type-examplesExample value must conform to the schema: response property must have required property 'errors'.
warningline 3385:23no-invalid-media-type-examplesExample value must conform to the schema: response property must NOT have unevaluated properties data.
warningline 3515:27no-invalid-media-type-examplesExample value must conform to the schema: data property must NOT have unevaluated properties processUid.
warningline 3669:33no-invalid-media-type-examplesExample value must conform to the schema: coordinates property must have required property 'height'.
warningline 3669:33no-invalid-media-type-examplesExample value must conform to the schema: coordinates property must have required property 'width'.
warningline 3669:33no-invalid-media-type-examplesExample value must conform to the schema: coordinates property must NOT have unevaluated properties bottom.
warningline 3671:33no-invalid-media-type-examplesExample value must conform to the schema: coordinates property must NOT have unevaluated properties right.
warningline 4432:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 4443:29no-invalid-media-type-examplesExample value must conform to the schema: code property must be equal to one of the allowed values "GENERAL_ERROR", "MAINTENANCE_MODE_ERROR".
warningline 4445:25no-invalid-media-type-examplesExample value must conform to the schema: data property type must be array.
warningline 4570:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 4581:29no-invalid-media-type-examplesExample value must conform to the schema: code property must be equal to one of the allowed values "GENERAL_ERROR", "MAINTENANCE_MODE_ERROR".
warningline 4583:25no-invalid-media-type-examplesExample value must conform to the schema: data property type must be array.
warningline 4683:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 4694:29no-invalid-media-type-examplesExample value must conform to the schema: code property must be equal to one of the allowed values "GENERAL_ERROR", "MAINTENANCE_MODE_ERROR".
warningline 4696:25no-invalid-media-type-examplesExample value must conform to the schema: data property type must be array.
warningline 4821:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 4832:29no-invalid-media-type-examplesExample value must conform to the schema: code property must be equal to one of the allowed values "GENERAL_ERROR", "MAINTENANCE_MODE_ERROR".
warningline 4834:25no-invalid-media-type-examplesExample value must conform to the schema: data property type must be array.
warningline 4879:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 4890:29no-invalid-media-type-examplesExample value must conform to the schema: code property must be equal to one of the allowed values "GENERAL_ERROR", "MAINTENANCE_MODE_ERROR".
warningline 4940:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 4951:29no-invalid-media-type-examplesExample value must conform to the schema: code property must be equal to one of the allowed values "GENERAL_ERROR", "MAINTENANCE_MODE_ERROR".
warningline 4953:25no-invalid-media-type-examplesExample value must conform to the schema: data property type must be array.
warningline 5072:11operation-4xx-responseOperation must have at least one 4XX response.
warningline 5084:33no-invalid-media-type-examplesExample value must conform to the schema: data property type must be object.
warningline 5113:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 5124:29no-invalid-media-type-examplesExample value must conform to the schema: code property must be equal to one of the allowed values "GENERAL_ERROR", "MAINTENANCE_MODE_ERROR".
warningline 5156:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 5586:30no-invalid-media-type-examplesExample value must conform to the schema: key property type must be string.
warningline 5679:32no-invalid-media-type-examplesExample value must conform to the schema: key property type must be string.
warningline 5681:36no-invalid-media-type-examplesExample value must conform to the schema: details property type must be object.
warningline 5767:32no-invalid-media-type-examplesExample value must conform to the schema: key property type must be string.
warningline 5769:36no-invalid-media-type-examplesExample value must conform to the schema: details property type must be object.
warningline 5856:30no-invalid-media-type-examplesExample value must conform to the schema: key property type must be string.
warningline 5992:25no-invalid-media-type-examplesExample value must conform to the schema: 0 property must have required property 'key'.
warningline 6076:25no-invalid-media-type-examplesExample value must conform to the schema: 0 property must have required property 'key'.
warningline 6153:21no-invalid-media-type-examplesExample value must conform to the schema: must have required property 'response'.
warningline 6153:21no-invalid-media-type-examplesExample value must conform to the schema: must NOT have unevaluated properties code.
warningline 6154:21no-invalid-media-type-examplesExample value must conform to the schema: must NOT have unevaluated properties errors.
warningline 6214:27no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties name.
warningline 6215:27no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties uri.
warningline 6216:27no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties fileUid.
warningline 6249:30no-invalid-media-type-examplesExample value must conform to the schema: key property type must be string.
warningline 6250:34no-invalid-media-type-examplesExample value must conform to the schema: message property type must be string.
warningline 6251:34no-invalid-media-type-examplesExample value must conform to the schema: details property type must be object.
warningline 6312:27no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties name.
warningline 6313:27no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties uri.
warningline 6314:27no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties fileUid.
warningline 6337:21no-invalid-media-type-examplesExample value must conform to the schema: must have required property 'response'.
warningline 6337:21no-invalid-media-type-examplesExample value must conform to the schema: must NOT have unevaluated properties code.
warningline 6338:21no-invalid-media-type-examplesExample value must conform to the schema: must NOT have unevaluated properties errors.
warningline 6358:30no-invalid-media-type-examplesExample value must conform to the schema: key property type must be string.
warningline 6359:34no-invalid-media-type-examplesExample value must conform to the schema: message property type must be string.
warningline 6360:34no-invalid-media-type-examplesExample value must conform to the schema: details property type must be object.
warningline 6416:25no-invalid-media-type-examplesExample value must conform to the schema: 0 property must have required property 'key'.
warningline 6550:25no-invalid-media-type-examplesExample value must conform to the schema: data property must NOT have unevaluated properties translationJobUid.
warningline 6663:30no-invalid-media-type-examplesExample value must conform to the schema: key property type must be string.
warningline 6665:34no-invalid-media-type-examplesExample value must conform to the schema: details property type must be object.
warningline 6682:32no-invalid-media-type-examplesExample value must conform to the schema: key property type must be string.
warningline 6686:36no-invalid-media-type-examplesExample value must conform to the schema: details property type must be object.
warningline 6836:27no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties uri.
warningline 6837:27no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties fileUid.
warningline 6838:27no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties localeIds.
warningline 6841:27no-invalid-media-type-examplesExample value must conform to the schema: 1 property must NOT have unevaluated properties uri.
warningline 6842:27no-invalid-media-type-examplesExample value must conform to the schema: 1 property must NOT have unevaluated properties fileUid.
warningline 6843:27no-invalid-media-type-examplesExample value must conform to the schema: 1 property must NOT have unevaluated properties localeIds.
warningline 7049:27no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties progress.
warningline 7054:27no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties unauthorizedProgressReport.
warningline 7076:27no-invalid-media-type-examplesExample value must conform to the schema: 1 property must NOT have unevaluated properties progress.
warningline 7081:27no-invalid-media-type-examplesExample value must conform to the schema: 1 property must NOT have unevaluated properties unauthorizedProgressReport.
warningline 7109:29no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties workflowStepName.
warningline 7112:29no-invalid-media-type-examplesExample value must conform to the schema: 1 property must NOT have unevaluated properties workflowStepName.
warningline 7161:27no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties progress.
warningline 7166:27no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties unauthorizedProgressReport.
warningline 7188:27no-invalid-media-type-examplesExample value must conform to the schema: 1 property must NOT have unevaluated properties progress.
warningline 7193:27no-invalid-media-type-examplesExample value must conform to the schema: 1 property must NOT have unevaluated properties unauthorizedProgressReport.
warningline 7221:29no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties workflowStepName.
warningline 7224:29no-invalid-media-type-examplesExample value must conform to the schema: 1 property must NOT have unevaluated properties workflowStepName.
warningline 7241:30no-invalid-media-type-examplesExample value must conform to the schema: key property type must be string.
warningline 7242:34no-invalid-media-type-examplesExample value must conform to the schema: message property type must be string.
warningline 7243:34no-invalid-media-type-examplesExample value must conform to the schema: details property type must be object.
warningline 7284:29no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties completionDate.
warningline 7285:29no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties targetLocaleId.
warningline 7306:30no-invalid-media-type-examplesExample value must conform to the schema: key property type must be string.
warningline 7307:34no-invalid-media-type-examplesExample value must conform to the schema: message property type must be string.
warningline 7308:34no-invalid-media-type-examplesExample value must conform to the schema: details property type must be object.
warningline 7346:21no-invalid-media-type-examplesExample value must conform to the schema: must NOT have unevaluated properties response.
warningline 7372:30no-invalid-media-type-examplesExample value must conform to the schema: key property type must be string.
warningline 7373:34no-invalid-media-type-examplesExample value must conform to the schema: message property type must be string.
warningline 7374:34no-invalid-media-type-examplesExample value must conform to the schema: details property type must be object.
warningline 7417:21no-invalid-media-type-examplesExample value must conform to the schema: must NOT have unevaluated properties response.
warningline 7460:21no-invalid-media-type-examplesExample value must conform to the schema: must NOT have unevaluated properties response.
warningline 7494:32no-invalid-media-type-examplesExample value must conform to the schema: key property type must be string.
warningline 7495:36no-invalid-media-type-examplesExample value must conform to the schema: message property type must be string.
warningline 7496:36no-invalid-media-type-examplesExample value must conform to the schema: details property type must be object.
warningline 7581:21no-invalid-media-type-examplesExample value must conform to the schema: must NOT have unevaluated properties response.
warningline 7615:32no-invalid-media-type-examplesExample value must conform to the schema: key property type must be string.
warningline 7616:36no-invalid-media-type-examplesExample value must conform to the schema: message property type must be string.
warningline 7617:36no-invalid-media-type-examplesExample value must conform to the schema: details property type must be object.
warningline 7653:21no-invalid-media-type-examplesExample value must conform to the schema: must NOT have unevaluated properties response.
warningline 7716:21no-invalid-media-type-examplesExample value must conform to the schema: must NOT have unevaluated properties response.
warningline 7793:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 7857:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 7911:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 7942:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 7978:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 8027:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 8070:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 8119:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 8173:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 8218:7operation-4xx-responseOperation must have at least one 4XX response.
warningline 8536:27no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties jobReferenceNumber.
warningline 8557:27no-invalid-media-type-examplesExample value must conform to the schema: 1 property must NOT have unevaluated properties jobReferenceNumber.
warningline 8561:27no-invalid-media-type-examplesExample value must conform to the schema: 1 property must NOT have unevaluated properties targetLocale.
warningline 9014:29no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties attachmentUid.
warningline 9019:29no-invalid-media-type-examplesExample value must conform to the schema: 0 property must NOT have unevaluated properties canDelete.
warningline 9020:29no-invalid-media-type-examplesExample value must conform to the schema: 1 property must NOT have unevaluated properties attachmentUid.
warningline 9025:29no-invalid-media-type-examplesExample value must conform to the schema: 1 property must NOT have unevaluated properties canDelete.
warningline 10180:5no-unused-componentsComponent: "BindingsResponse" is never used.

Validation failed
Errors: 7
Warnings: 3797

Lint: spec/api_common.yaml

SeverityLocationProblemMessage
warningline 249:21no-invalid-media-type-examplesExample value must conform to the schema: errors property type must be array.
warningline 265:21no-invalid-media-type-examplesExample value must conform to the schema: errors property type must be array.
warningline 230: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