Skip to content

fix: resolve command generation regressions from the typespec toolchain upgrade#564

Open
huiii99 wants to merge 4 commits into
Azure:devfrom
huiii99:fix/tsp-syntax-error
Open

fix: resolve command generation regressions from the typespec toolchain upgrade#564
huiii99 wants to merge 4 commits into
Azure:devfrom
huiii99:fix/tsp-syntax-error

Conversation

@huiii99

@huiii99 huiii99 commented Jul 17, 2026

Copy link
Copy Markdown
Member

The vendored typespec upgrade (compiler 1.13 / azure-core 0.69) introduced several code-generation regressions. Most visibly, az network application-gateway ssl-cert create failed to load with a SyntaxError, and regenerated commands silently lost their argument customizations. This PR fixes the underlying causes and adds tests.

fixes: https://github.com/Azure/CLIPS/issues/526 & #562

Note: the frontend/emitter changes (convertor.ts, brower-host.ts) require a rebuild (pnpm build:typespec && pnpm build:web && pnpm bundle) since the bundled src/aaz_dev/ui output is not committed. The Python fixes take effect on an editable install with a backend restart.

@huiii99
huiii99 marked this pull request as ready for review July 20, 2026 00:11
@necusjz

necusjz commented Jul 21, 2026

Copy link
Copy Markdown
Member

tsp is missing some info from previous swagger, e.g.,
tsp,
image

swagger,
image

we can see,

  1. the content of each parameter group is different
  2. the "hidden" info is missed.

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