Skip to content

Commit

Permalink
More friendly name fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheeguerin committed Aug 5, 2024
1 parent 2a229da commit da9437b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion specification/loadtestservice/LoadTestService/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -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<TimeSeriesElement>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ union OracleSubscriptionProvisioningState {
string,
}

#suppress "@azure-tools/typespec-azure-core/friendly-name" "Legacy"
@singleton
@subscriptionResource
@doc("OracleSubscription resource definition")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,6 @@ model BatchNumbersDelete {
numbers: NumberIdentifier[];
}

@friendlyName("PagedNumberList")
model PagedNumberList is Azure.Core.Page<NumberResource>;

/*
Expand Down

0 comments on commit da9437b

Please sign in to comment.