diff --git a/specification/appconfiguration/AppConfiguration/routes.tsp b/specification/appconfiguration/AppConfiguration/routes.tsp index d16212663e83..348754d8c839 100644 --- a/specification/appconfiguration/AppConfiguration/routes.tsp +++ b/specification/appconfiguration/AppConfiguration/routes.tsp @@ -40,7 +40,9 @@ alias KeysRequestParams = { op getKeys is Foundations.ResourceList< Key, KeysRequestParams, - KeyListResult & SyncTokenHeader & ContentTypeHeader<"application/vnd.microsoft.appconfig.keyset+json">, + KeyListResult & + SyncTokenHeader & + ContentTypeHeader<"application/vnd.microsoft.appconfig.keyset+json">, {}, Error >; @@ -57,31 +59,31 @@ op checkKeys is AppConfigOperation< alias KeyValuesRequestParams = { ...KeyQueryParam<""" - A filter used to match keys. Syntax reference: - https://aka.ms/azconfig/docs/keyvaluefiltering - """>; - ...LabelQueryParam<""" - A filter used to match labels. Syntax reference: - https://aka.ms/azconfig/docs/keyvaluefiltering - """>; - ...SyncTokenHeader; - ...AfterHeader; - ...AcceptDatetimeHeader; - ...SelectQueryParam< - "Used to select what fields are present in the returned resource(s).", - KeyValueFields - >; - ...SnapshotOptionalQueryParam<""" - A filter used get key-values for a snapshot. The value should be the name of - the snapshot. Not valid when used with 'key' and 'label' filters. - """>; - ...IfMatchHeader; - ...IfNoneMatchHeader; - #suppress "@azure-tools/typespec-azure-core/no-query-explode" "Pre-existing API contract" - ...TagsQueryParam<""" - A filter used to query by tags. Syntax reference: - https://aka.ms/azconfig/docs/keyvaluefiltering - """>; + A filter used to match keys. Syntax reference: + https://aka.ms/azconfig/docs/keyvaluefiltering + """>; + ...LabelQueryParam<""" + A filter used to match labels. Syntax reference: + https://aka.ms/azconfig/docs/keyvaluefiltering + """>; + ...SyncTokenHeader; + ...AfterHeader; + ...AcceptDatetimeHeader; + ...SelectQueryParam< + "Used to select what fields are present in the returned resource(s).", + KeyValueFields + >; + ...SnapshotOptionalQueryParam<""" + A filter used get key-values for a snapshot. The value should be the name of + the snapshot. Not valid when used with 'key' and 'label' filters. + """>; + ...IfMatchHeader; + ...IfNoneMatchHeader; + #suppress "@azure-tools/typespec-azure-core/no-query-explode" "Pre-existing API contract" + ...TagsQueryParam<""" + A filter used to query by tags. Syntax reference: + https://aka.ms/azconfig/docs/keyvaluefiltering + """>; }; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Pre-existing API contract" @@ -126,7 +128,10 @@ op getKeyValue is Foundations.ResourceOperation< ...IfNoneMatchHeader; ...ClientRequestIdHeader; }, - Body & RequestIdResponseHeader & AppConfigResponseHeaders & ContentTypeHeader<"application/vnd.microsoft.appconfig.kv+json">, + Body & + RequestIdResponseHeader & + AppConfigResponseHeaders & + ContentTypeHeader<"application/vnd.microsoft.appconfig.kv+json">, {}, Error >; @@ -228,7 +233,9 @@ op getSnapshots is Foundations.ResourceList< ...SyncTokenHeader; }, - SnapshotListResult & SyncTokenHeader & ContentTypeHeader<"application/vnd.microsoft.appconfig.snapshotset+json">, + SnapshotListResult & + SyncTokenHeader & + ContentTypeHeader<"application/vnd.microsoft.appconfig.snapshotset+json">, {}, Error >; @@ -257,7 +264,10 @@ op getSnapshot is StandardOps.ResourceRead< ...IfNoneMatchHeader; ...ClientRequestIdHeader; }> & - ResponseHeadersTrait & RequestIdResponseHeader> + ResponseHeadersTrait & + RequestIdResponseHeader> >; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Pre-existing API contract" @@ -282,7 +292,10 @@ op createSnapshot is Foundations.LongRunningOperation< entity: Snapshot; }, CreatedResponse & - Snapshot & AppConfigResponseHeaders & LinkHeader & ContentTypeHeader<"application/vnd.microsoft.appconfig.snapshot+json">, + Snapshot & + AppConfigResponseHeaders & + LinkHeader & + ContentTypeHeader<"application/vnd.microsoft.appconfig.snapshot+json">, {}, Error >; @@ -308,7 +321,10 @@ op updateSnapshot is AppConfigOperation< @body entity: SnapshotUpdateParameters; }, - Snapshot & AppConfigResponseHeaders & LinkHeader & ContentTypeHeader<"application/vnd.microsoft.appconfig.snapshot+json"> + Snapshot & + AppConfigResponseHeaders & + LinkHeader & + ContentTypeHeader<"application/vnd.microsoft.appconfig.snapshot+json"> >; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "No data-plane HEAD operation template" @@ -344,7 +360,9 @@ alias LabelsRequestParams = { @route("/labels") op getLabels is AppConfigOperation< LabelsRequestParams, - LabelListResult & SyncTokenHeader & ContentTypeHeader<"application/vnd.microsoft.appconfig.labelset+json"> + LabelListResult & + SyncTokenHeader & + ContentTypeHeader<"application/vnd.microsoft.appconfig.labelset+json"> >; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "No data-plane HEAD operation template"