From 1cb540f95dc8993540918943a75d02ebfeeda0ca Mon Sep 17 00:00:00 2001 From: ZiWei Chen <98569699+kazrael2119@users.noreply.github.com> Date: Fri, 20 Dec 2024 13:34:03 +0800 Subject: [PATCH] add directive for cognitiveservices (#31940) * add directive for cognitiveservices * Update readme.python.md --- .../resource-manager/readme.typescript.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/cognitiveservices/resource-manager/readme.typescript.md b/specification/cognitiveservices/resource-manager/readme.typescript.md index df095dac096d..2cf7d5c823f4 100644 --- a/specification/cognitiveservices/resource-manager/readme.typescript.md +++ b/specification/cognitiveservices/resource-manager/readme.typescript.md @@ -10,3 +10,11 @@ typescript: output-folder: "$(typescript-sdks-folder)/sdk/cognitiveservices/arm-cognitiveservices" generate-metadata: true ``` + +```yaml +directive: + from: swagger-document + where: $.definitions.RaiBlocklistItemsBulkDeleteRequest + transform: > + $["type"]="array" +``` \ No newline at end of file