sdk/communication/Azure.Communication.Sms/src/autorest.md
Run dotnet msbuild /t:GenerateCode to generate code.
tag: package-sms-2025-05-29-preview
model-namespace: true
require:
- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/a7b95987ab546f6e1022c8bbc3ed7572789650dd/specification/communication/data-plane/Sms/readme.md
payload-flattening-threshold: 10
generation1-convenience-client: true
directive:
from: swagger-document
where: "$.definitions.SmsSendResponseItem"
transform: >
$["x-ms-client-name"] = "SmsSendResult";
$["x-namespace"] = "Azure.Communication.Sms";
directive:
from: swagger-document
where: "$.definitions.SmsSendOptions"
transform: >
$["x-namespace"] = "Azure.Communication.Sms";
directive:
from: swagger-document
where: "$.definitions.MessagingConnectOptions"
transform: >
$["x-namespace"] = "Azure.Communication.Sms";
directive:
from: swagger-document
where: "$.definitions.SmsRecipient"
transform: >
$["x-accessibility"] = "internal";
directive:
from: swagger-document
where: "$.definitions.SmsSendResponse"
transform: >
$["x-accessibility"] = "internal";
directive:
from: swagger-document
where: "$.definitions.SmsSendResponseItem.properties.repeatabilityResult"
transform: >
$["x-accessibility"] = "internal";
$["x-namespace"] = "Azure.Communication.Sms";