Skip to content

Stg104/fix accesstier durable#49554

Draft
browndav-msft wants to merge 1 commit into
Azure:feature/storage/stg104basefrom
browndav-msft:stg104/fix-accesstier-durable
Draft

Stg104/fix accesstier durable#49554
browndav-msft wants to merge 1 commit into
Azure:feature/storage/stg104basefrom
browndav-msft:stg104/fix-accesstier-durable

Conversation

@browndav-msft

Copy link
Copy Markdown
Member

Fix to implement changes with customizations to swagger

…directive

Adds a swagger directive that injects x-ms-access-tier, x-ms-access-tier-inferred, x-ms-access-tier-change-time, and x-ms-smart-access-tier into the Blob_Download 200/206 responses. Previously these headers (added in Azure#49219) came solely from the pinned spec, so a later spec/fork change silently dropped them from BlobsDownloadHeaders. The directive uses idempotent Object.assign so it is a no-op when the spec already defines them and load-bearing when it does not.
@github-actions github-actions Bot added the Storage Storage Service (Queues, Blobs, Files) label Jun 18, 2026
@browndav-msft browndav-msft changed the base branch from main to feature/storage/stg104base June 18, 2026 15:10
@browndav-msft browndav-msft requested a review from Copilot June 18, 2026 15:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the azure-storage-blob Swagger generation README directives to include additional access-tier-related response headers on the Download (GET /{containerName}/{blob}) operation, aligning the generated Swagger surface with the customized spec inputs.

Changes:

  • Adds definitions for x-ms-access-tier, x-ms-access-tier-inferred, x-ms-access-tier-change-time, and x-ms-smart-access-tier response headers.
  • Merges these headers into both 200 and 206 Download responses via the Swagger transform directive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants