Skip to content

feat: Support MediaType annotation#156

Merged
daogrady merged 8 commits into
mainfrom
fix/media-stream
Jun 11, 2026
Merged

feat: Support MediaType annotation#156
daogrady merged 8 commits into
mainfrom
fix/media-stream

Conversation

@daogrady

Copy link
Copy Markdown
Contributor

Fixes internal issue 19862

@daogrady daogrady changed the title Support MediaType annotation feat: Support MediaType annotation Jun 10, 2026
@daogrady daogrady requested a review from tim-sh June 11, 2026 12:28
@daogrady daogrady enabled auto-merge (squash) June 11, 2026 12:28

@tim-sh tim-sh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks solid. AI verified the logic against OData v4.01 §§11.2.3, 11.4.7, 11.4.8 and the oasis-tcs reference implementation…

Comment thread lib/compile/csdl2openapi.js Outdated
Comment thread lib/compile/csdl2openapi.js Outdated
Comment thread lib/compile/csdl2openapi.js Outdated
Comment thread CHANGELOG.md Outdated
@daogrady

Copy link
Copy Markdown
Contributor Author

@tim-sh thank you for the feedback! From what I can gather from the standard, your concerns are all valid. Again, I have recreated your suggestions locally to make sure you can still approve.

@daogrady daogrady requested a review from tim-sh June 11, 2026 14:34
tim-sh
tim-sh previously approved these changes Jun 11, 2026

@tim-sh tim-sh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the quick follow-up – just a nit, the snapshot files (TripPin.openapi3.json, csdl-16.1.openapi3.json) lost their trailing newline it seems, but PR is fine to merge anyway.

@daogrady

Copy link
Copy Markdown
Contributor Author

@tim-sh good spot! I reintroduced them, which requires another approval, I'm afraid

@daogrady daogrady requested a review from tim-sh June 11, 2026 14:44

@tim-sh tim-sh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

aargh… 😓
;)

@daogrady daogrady merged commit 07ac546 into main Jun 11, 2026
9 checks passed
@daogrady daogrady deleted the fix/media-stream branch June 11, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants