From da9437bd8ea9f2ede696c6a7168a9c5ff8d8dc09 Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Mon, 5 Aug 2024 13:18:28 -0700 Subject: [PATCH] More friendly name fixes --- specification/loadtestservice/LoadTestService/models.tsp | 1 - .../oracle/models/oraclesubscription/oracleSubscription.tsp | 1 + specification/voiceservices/VoiceServices.Provisioning/main.tsp | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/loadtestservice/LoadTestService/models.tsp b/specification/loadtestservice/LoadTestService/models.tsp index 77317b553889..49b3c0727f44 100644 --- a/specification/loadtestservice/LoadTestService/models.tsp +++ b/specification/loadtestservice/LoadTestService/models.tsp @@ -993,7 +993,6 @@ model DimensionFilter { } @doc("The response to a metrics query.") -@friendlyName("Metrics") // using friendlyName to change the name of the model due to issue in using projectedName '@encodedName("application/json", "Metrics")' https://github.com/microsoft/typespec/issues/2276 model Metrics is Azure.Core.Page; diff --git a/specification/oracle/models/oraclesubscription/oracleSubscription.tsp b/specification/oracle/models/oraclesubscription/oracleSubscription.tsp index 1d21cb098e5a..3677f00cc155 100644 --- a/specification/oracle/models/oraclesubscription/oracleSubscription.tsp +++ b/specification/oracle/models/oraclesubscription/oracleSubscription.tsp @@ -11,6 +11,7 @@ union OracleSubscriptionProvisioningState { string, } +#suppress "@azure-tools/typespec-azure-core/friendly-name" "Legacy" @singleton @subscriptionResource @doc("OracleSubscription resource definition") diff --git a/specification/voiceservices/VoiceServices.Provisioning/main.tsp b/specification/voiceservices/VoiceServices.Provisioning/main.tsp index 6f64602867ac..efc60718c9a6 100644 --- a/specification/voiceservices/VoiceServices.Provisioning/main.tsp +++ b/specification/voiceservices/VoiceServices.Provisioning/main.tsp @@ -633,7 +633,6 @@ model BatchNumbersDelete { numbers: NumberIdentifier[]; } -@friendlyName("PagedNumberList") model PagedNumberList is Azure.Core.Page; /*