Skip to content

Lint errors in common files #253

@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

Lint: spec/openapi.yaml

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

Validation failed
Errors: 7
Warnings: 3797

Lint: spec/api_common.yaml

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