* Fix ambiguous typo

* Change
This commit is contained in:
Timothee Guerin 2021-04-19 09:40:54 -07:00 коммит произвёл GitHub
Родитель be10de32a3
Коммит 43e47aeacc
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 18 добавлений и 7 удалений

Просмотреть файл

@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@autorest/modelerfour",
"comment": "**Typo** Ambigious -> Ambiguous ",
"type": "patch"
}
],
"packageName": "@autorest/modelerfour",
"email": "tiguerin@microsoft.com"
}

Просмотреть файл

@ -639,7 +639,7 @@ export class ModelerFour {
case undefined:
if (length(schema.enum) > 0 && values(schema.enum).all((each) => typeof each === "string")) {
this.session.warning(
`The enum schema '${schema?.["x-ms-metadata"]?.name}' with an undefined type and enum values is ambigious. This has been auto-corrected to 'type:string'`,
`The enum schema '${schema?.["x-ms-metadata"]?.name}' with an undefined type and enum values is ambiguous. This has been auto-corrected to 'type:string'`,
["Modeler", "MissingType"],
schema,
);
@ -1066,7 +1066,7 @@ export class ModelerFour {
this.session.warning(
`The schema '${
schema?.["x-ms-metadata"]?.name || name
}' with an undefined type and declared properties is a bit ambigious. This has been auto-corrected to 'type:object'`,
}' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'`,
["Modeler", "MissingType"],
schema,
);
@ -1080,7 +1080,7 @@ export class ModelerFour {
this.session.warning(
`The schema '${
schema?.["x-ms-metadata"]?.name || name
}' with an undefined type and additionalProperties is a bit ambigious. This has been auto-corrected to 'type:object'`,
}' with an undefined type and additionalProperties is a bit ambiguous. This has been auto-corrected to 'type:object'`,
["Modeler"],
schema,
);
@ -1094,7 +1094,7 @@ export class ModelerFour {
this.session.warning(
`The schema '${
schema?.["x-ms-metadata"]?.name || name
}' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'`,
}' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambiguous. This has been auto-corrected to 'type:object'`,
["Modeler", "MissingType"],
schema,
);

Просмотреть файл

@ -428,7 +428,7 @@ export class QualityPreChecker {
this.session.warning(
`The schema '${
schema?.["x-ms-metadata"]?.name || name
}' with an undefined type and declared properties is a bit ambigious. This has been auto-corrected to 'type:object'`,
}' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'`,
["PreCheck", "SchemaMissingType"],
schema,
);
@ -441,7 +441,7 @@ export class QualityPreChecker {
this.session.warning(
`The schema '${
schema?.["x-ms-metadata"]?.name || name
}' with an undefined type and additionalProperties is a bit ambigious. This has been auto-corrected to 'type:object'`,
}' with an undefined type and additionalProperties is a bit ambiguous. This has been auto-corrected to 'type:object'`,
["PreCheck", "SchemaMissingType"],
schema,
);
@ -455,7 +455,7 @@ export class QualityPreChecker {
this.session.warning(
`The schema '${
schema?.["x-ms-metadata"]?.name || name
}' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'`,
}' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambiguous. This has been auto-corrected to 'type:object'`,
["PreCheck", "SchemaMissingType"],
schema,
);