зеркало из https://github.com/Azure/autorest.git
Relax directive validation (#4376)
This commit is contained in:
Родитель
86d1d0d792
Коммит
cfa8997aa1
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"changes": [
|
||||
{
|
||||
"packageName": "@autorest/configuration",
|
||||
"comment": "Relax directive validation",
|
||||
"type": "patch"
|
||||
}
|
||||
],
|
||||
"packageName": "@autorest/configuration",
|
||||
"email": "tiguerin@microsoft.com"
|
||||
}
|
|
@ -215,10 +215,11 @@ export const AUTOREST_CONFIGURATION_SCHEMA = {
|
|||
type: "object",
|
||||
properties: {
|
||||
from: { type: "array", items: { type: "string" } },
|
||||
where: { type: "array", items: { type: "string" } },
|
||||
// directive is also used in the powershell extension (where and set in particular are object there) https://github.com/Azure/autorest.powershell/blob/main/docs/directives.md
|
||||
// where: { type: "array", items: { type: "string" } },
|
||||
reason: { type: "string" },
|
||||
suppress: { type: "array", deprecated: true, items: { type: "string" } },
|
||||
set: { type: "array", items: { type: "string" } },
|
||||
// set: { type: "array", items: { type: "string" } },
|
||||
transform: { type: "array", items: { type: "string" } },
|
||||
"text-transform": { type: "array", items: { type: "string" } },
|
||||
test: { type: "array", items: { type: "string" } },
|
||||
|
|
Загрузка…
Ссылка в новой задаче