Skip to content

XML: Service.findBlobsByTags result doesn't have tags #3776

@jeremymeng

Description

@jeremymeng

the response body

`<?xml version="1.0" encoding="utf-8"?>
<EnumerationResults ServiceEndpoint="https://yumengstorage1.blob.core.windows.net/"><Where>key177138988884109677=&apos;val1177138988884100390&apos;</Where><Blobs><Blob><Name>blobname1177138988884105765</Name><ContainerName>container1177138988873103526</ContainerName><Tags><TagSet><Tag><Key>key177138988884109677</Key><Value>val1177138988884100390</Value></Tag></TagSet></Tags></Blob></Blobs><NextMarker/></EnumerationResults>`

The parsed xmlObject has Tags

Image

Not sure why the deserializer xml options have lower case tags:

    {
      propertyName: "tags",
      xmlOptions: { name: "tags", unwrapped: true },
      type: "object",
      deserializer: blobTagsXmlObjectDeserializer,
    },

The typespec has upper case name

/** Represents blob tags. */
@Xml.name("Tags")
model BlobTags {
  /** Represents the blob tags. */
  @Xml.name("TagSet") blobTagSet: BlobTag[];
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions