зеркало из https://github.com/Azure/autorest.git
Fix: Nullable dropped on certain properties (#4343)
This commit is contained in:
Родитель
c26b83921f
Коммит
74164f01b5
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"changes": [
|
||||
{
|
||||
"packageName": "@autorest/core",
|
||||
"comment": "**Fix** Nullable on certain properties during tree shaking",
|
||||
"type": "patch"
|
||||
}
|
||||
],
|
||||
"packageName": "@autorest/core",
|
||||
"email": "tiguerin@microsoft.com"
|
||||
}
|
|
@ -783,6 +783,7 @@ export class OAI3Shaker extends Transformer<AnyObject, AnyObject> {
|
|||
"x-ms-client-flatten": value["x-ms-client-flatten"], // we violate spec to allow flexibility in terms of flattening
|
||||
"x-ms-client-name": value["x-ms-client-name"], // we violate spec to allow flexibility in terms of naming too. *sigh*
|
||||
readOnly: value.readOnly,
|
||||
nullable: value.nullable,
|
||||
},
|
||||
pointer,
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче