Skip to content

Conversation

@baywet
Copy link
Member

@baywet baywet commented Dec 30, 2025

#9236 and #9228 introduced regressions where some syntax could end up being escaped twice, causing compilation issues after import
This is an attempt to definitively fix all the escaping issues, not letting copilot drive...

@baywet baywet requested a review from bterlson as a code owner December 30, 2025 14:43
@baywet baywet self-assigned this Dec 30, 2025
@baywet baywet enabled auto-merge December 30, 2025 14:43
@microsoft-github-policy-service microsoft-github-policy-service bot added the emitter:openapi3 Issues for @typespec/openapi3 emitter label Dec 30, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 30, 2025

All changed packages have been documented.

  • @typespec/openapi3
Show changes

@typespec/openapi3 - fix ✏️

import tool - avoid double escaping backslashes

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 30, 2025

Open in StackBlitz

npm i https://pkg.pr.new/microsoft/typespec/@typespec/openapi@9275
npm i https://pkg.pr.new/microsoft/typespec/@typespec/openapi3@9275

commit: 1d013ef

@azure-sdk
Copy link
Collaborator

azure-sdk commented Dec 30, 2025

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@baywet baywet disabled auto-merge December 30, 2025 15:09
@baywet baywet marked this pull request as draft December 30, 2025 16:55
@baywet baywet marked this pull request as ready for review December 30, 2025 18:14
@baywet baywet enabled auto-merge December 30, 2025 18:14
Copy link
Contributor

@markcowl markcowl left a comment

Choose a reason for hiding this comment

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

The actual logic looks fine, although I wonder . I think we should scrub the actual data for mentions of companies, persons, and the like

@baywet baywet requested a review from markcowl December 30, 2025 22:09
@baywet baywet added this pull request to the merge queue Dec 30, 2025
Merged via the queue into main with commit 07aae1a Dec 30, 2025
27 checks passed
@baywet baywet deleted the fix/double-backslash branch December 30, 2025 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:openapi3 Issues for @typespec/openapi3 emitter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants