Skip to content

Commit 049bc1c

Browse files
batch: do not encode containerName + blobName (#44326)
1 parent f7db5b7 commit 049bc1c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • specification/storage/data-plane/BlobStorage/SdkBatchCsharp

specification/storage/data-plane/BlobStorage/SdkBatchCsharp/client.tsp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ enum BlobDeleteTypeCustom {
8282
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Existing API"
8383
#suppress "@azure-tools/typespec-azure-core/no-response-body" "Existing API"
8484
@post
85-
@route("/{containerName}?restype=container&comp=batch")
85+
@route("/{+containerName}?restype=container&comp=batch")
8686
@scope("csharp")
8787
op containerSubmitBatchCsharp(
8888
/** Required. The value of this header must be multipart/mixed with a batch boundary. Example header value: multipart/mixed; boundary=batch_<GUID> */
@@ -118,7 +118,7 @@ op containerSubmitBatchCsharp(
118118
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Existing API"
119119
#suppress "@azure-tools/typespec-azure-core/no-response-body" "Existing API"
120120
@delete
121-
@route("/{containerName}/{blob}")
121+
@route("/{+containerName}/{+blob}")
122122
@scope("csharp")
123123
op deleteCsharp is StorageOperationNoBody<
124124
{
@@ -162,7 +162,7 @@ op deleteCsharp is StorageOperationNoBody<
162162
#suppress "@azure-tools/typespec-azure-core/use-standard-names" "Existing API"
163163
@put
164164
@sharedRoute
165-
@route("/{containerName}/{blob}?comp=tier")
165+
@route("/{+containerName}/{+blob}?comp=tier")
166166
@scope("csharp")
167167
op setTierCsharp is StorageOperationNoBody<
168168
{

0 commit comments

Comments
 (0)