From 546d831df6c592a24f9b9aeb241ada824fb67d85 Mon Sep 17 00:00:00 2001 From: Vincent Tran Date: Tue, 2 Sep 2025 13:45:22 -0700 Subject: [PATCH 1/3] Make where required, need to check functionality and rename --- specification/storage/Microsoft.BlobStorage/models.tsp | 2 +- specification/storage/Microsoft.BlobStorage/routes.tsp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/specification/storage/Microsoft.BlobStorage/models.tsp b/specification/storage/Microsoft.BlobStorage/models.tsp index 3afb3d1fffab..c7a6cd8d3127 100644 --- a/specification/storage/Microsoft.BlobStorage/models.tsp +++ b/specification/storage/Microsoft.BlobStorage/models.tsp @@ -2189,7 +2189,7 @@ alias FilterBlobsIncludeParameter = { alias FilterBlobsWhereParameter = { /** Filters the results to return only to return only blobs whose tags match the specified expression. */ @query - where?: string; + where: string; }; /** The Content-Length header. */ diff --git a/specification/storage/Microsoft.BlobStorage/routes.tsp b/specification/storage/Microsoft.BlobStorage/routes.tsp index 905f7e61fd08..cda1b98924c7 100644 --- a/specification/storage/Microsoft.BlobStorage/routes.tsp +++ b/specification/storage/Microsoft.BlobStorage/routes.tsp @@ -184,7 +184,7 @@ namespace Storage.Blob { #suppress "@azure-tools/typespec-azure-core/use-standard-names" "Existing API" @get @route("?comp=blobs") - op filterBlobs is StorageOperation< + op findBlobsByTags is StorageOperation< { ...TimeoutParameter; ...FilterBlobsWhereParameter; @@ -193,8 +193,6 @@ namespace Storage.Blob { ...FilterBlobsIncludeParameter; }, { - ...DateResponseHeader; - /** The filter blobs enumeration results */ @body enumerationResults: FilterBlobSegment; From 3a48c009ec8bef3e3efd993ca0864aa375c10785 Mon Sep 17 00:00:00 2001 From: Vincent Tran Date: Tue, 2 Sep 2025 13:50:20 -0700 Subject: [PATCH 2/3] Attempt query rename --- specification/storage/Microsoft.BlobStorage/models.tsp | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/storage/Microsoft.BlobStorage/models.tsp b/specification/storage/Microsoft.BlobStorage/models.tsp index c7a6cd8d3127..2ee2cb8fcb5a 100644 --- a/specification/storage/Microsoft.BlobStorage/models.tsp +++ b/specification/storage/Microsoft.BlobStorage/models.tsp @@ -2189,6 +2189,7 @@ alias FilterBlobsIncludeParameter = { alias FilterBlobsWhereParameter = { /** Filters the results to return only to return only blobs whose tags match the specified expression. */ @query + @clientName("filterExpression") where: string; }; From 0041672e85defb141d13a61d20ae708e63807423 Mon Sep 17 00:00:00 2001 From: Vincent Tran Date: Tue, 2 Sep 2025 13:56:12 -0700 Subject: [PATCH 3/3] Apply to container and service --- specification/storage/Microsoft.BlobStorage/routes.tsp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/storage/Microsoft.BlobStorage/routes.tsp b/specification/storage/Microsoft.BlobStorage/routes.tsp index cda1b98924c7..691b8ba0fb23 100644 --- a/specification/storage/Microsoft.BlobStorage/routes.tsp +++ b/specification/storage/Microsoft.BlobStorage/routes.tsp @@ -440,7 +440,7 @@ namespace Storage.Blob { #suppress "@azure-tools/typespec-azure-core/use-standard-names" "Existing API" @get @route("{containerName}?restype=container&comp=blobs") - op filterBlobs is StorageOperation< + op findBlobsByTags is StorageOperation< { ...ContainerNamePathParameter; ...TimeoutParameter; @@ -450,8 +450,6 @@ namespace Storage.Blob { ...FilterBlobsIncludeParameter; }, { - ...DateResponseHeader; - /** The container filter blob enumeration results */ @body enumerationResults: FilterBlobSegment;