Skip to content

WIP, NOT READY - #1887

Draft
irvingouj@Devolutions (irvingoujAtDevolution) wants to merge 2 commits into
masterfrom
chore/openapi-generator-scoped-pin
Draft

WIP, NOT READY#1887
irvingouj@Devolutions (irvingoujAtDevolution) wants to merge 2 commits into
masterfrom
chore/openapi-generator-scoped-pin

Conversation

@irvingoujAtDevolution

@irvingoujAtDevolution irvingouj@Devolutions (irvingoujAtDevolution) commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

WIP NOT READY

The generator wrapper resolves openapitools.json next to the nearest package.json,
which is the repository root — not the openapi folder that holds ours. So it never
saw the pinned 7.9.0 and silently downloaded whatever the latest release was,
turning any regeneration into a generator-version bump. Pass the config path
explicitly, use the scoped package name, and keep npx non-interactive.
Mechanical output of `devolutions-gateway/openapi/generate_clients.ps1` with the
pinned generator (7.9.0) now actually honored. Nothing here is hand-written.

The diff is large because the committed clients were generated from a 2025.3.2
spec while the committed spec is 2026.1.2: with the generator resolving to a
different version on every run, a regeneration could not be told apart from a
version bump, so the clients were left to drift.
@github-actions

Copy link
Copy Markdown

Let maintainers know that an action is required on their side

  • Add the label release-required Please cut a new release (Devolutions Gateway, Devolutions Agent, Jetsocat, PowerShell module) when you request a maintainer to cut a new release (Devolutions Gateway, Devolutions Agent, Jetsocat, PowerShell module)

  • Add the label release-blocker Follow-up is required before cutting a new release if a follow-up is required before cutting a new release

  • Add the label publish-required Please publish libraries (`Devolutions.Gateway.Utils`, OpenAPI clients, etc) when you request a maintainer to publish libraries (Devolutions.Gateway.Utils, OpenAPI clients, etc.)

  • Add the label publish-blocker Follow-up is required before publishing libraries if a follow-up is required before publishing libraries

@irvingoujAtDevolution irvingouj@Devolutions (irvingoujAtDevolution) changed the title fix(openapi): honor the pinned client generator version WIP, NOT READY Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant