Skip to content

generate new api based on swagger docs#48535

Draft
browndav-msft wants to merge 19 commits intoAzure:bifrost-basefrom
browndav-msft:photon
Draft

generate new api based on swagger docs#48535
browndav-msft wants to merge 19 commits intoAzure:bifrost-basefrom
browndav-msft:photon

Conversation

@browndav-msft
Copy link
Copy Markdown
Member

No description provided.

@github-actions github-actions bot added the Storage Storage Service (Queues, Blobs, Files) label Mar 23, 2026
# Conflicts:
#	sdk/storage/azure-storage-blob/swagger/README.md
Apache Arrow uses off-heap memory via DirectByteBuffer and needs reflective access to internal NIO classes (like sun.misc.Unsafe or
  DirectByteBuffer.cleaner()) for memory management. Without this flag, you'll get InaccessibleObjectException at runtime.
ibrandes and others added 10 commits March 26, 2026 13:11
- Add ArrowBlobListDeserializer that parses Arrow IPC streams into
  BlobItemInternal objects with safe null-checking helpers
- Add diagnostic test to verify Arrow schema from live service
- Add deserializer test to validate end-to-end parsing of Arrow response
- Add Arrow module requires to module-info.java
- Add checker-qual dependency for Arrow annotation compatibility
- Add --add-opens java.base/java.nio=ALL-UNNAMED for Arrow memory
- Needed to update the README based on the following: adding custom endpoints (the Arrow variants) that deviate from the standard pattern — the swagger defines them as pageable (likely copied from the original list blobs operations), but the response format doesn't match what autorest expects for pageable ops. So the directive is needed to patch the swaggeat codegen time.
- This is a common pattern in the Azure SDK — the README.md swagger config files are full of directive blocks that fixup mismatches between what the swagger says and what the generated code actually needs. It's the standard escape hatch when the swagger doesn't perfectly represent the desired codegen behavior.
…ords, and async client

Add 6 missing schema field mappings to ArrowBlobListDeserializer (Content-CRC64,
Encrypted, OrsPolicySourceBlob, AffinityId, SmartAccessTier, Tags) with supporting
model fields and public delegates. Expose NumberOfRecords from Arrow schema metadata.
Wire Arrow path into BlobContainerAsyncClient for both flat and hierarchy listings
with XML content-type fallback. Add listBlobsArrowWithTags integration test.
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