Skip to content

chore(openapi): regenerate the spec and clients for the target connection options - #1898

Open
irvingouj@Devolutions (irvingoujAtDevolution) wants to merge 2 commits into
feat/target-connection-optionsfrom
chore/regenerate-openapi-provisioning
Open

chore(openapi): regenerate the spec and clients for the target connection options#1898
irvingouj@Devolutions (irvingoujAtDevolution) wants to merge 2 commits into
feat/target-connection-optionsfrom
chore/regenerate-openapi-provisioning

Conversation

@irvingoujAtDevolution

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

Copy link
Copy Markdown
Contributor

Just generate openapi, updated openapi .rs source file to stay consistent

…tion options

Mechanical output of `tools/generate-openapi/generate.ps1` then
`devolutions-gateway/openapi/generate_clients.ps1`, with the pinned 7.9.0 generator.
Hand-maintained OpenAPI shapes for the dual-op preflight API. Generated yaml/clients already include the same surface.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Regenerates the OpenAPI specification and clients to expose target connection options during preflight provisioning.

Changes:

  • Adds provision-connection-options and Kerberos KDC options.
  • Regenerates TypeScript and .NET client models.
  • Updates generated API documentation and manifests.

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
devolutions-gateway/src/openapi.rs Defines the new OpenAPI models and operation kind.
devolutions-gateway/openapi/gateway-api.yaml Adds the generated schemas.
devolutions-gateway/openapi/ts-angular-client/model/targetConnectionOptions.ts Adds the TypeScript options model.
devolutions-gateway/openapi/ts-angular-client/model/preflightOperationKind.ts Adds the operation kind.
devolutions-gateway/openapi/ts-angular-client/model/preflightOperation.ts Exposes connection options.
devolutions-gateway/openapi/ts-angular-client/model/models.ts Exports the new model.
devolutions-gateway/openapi/ts-angular-client/.openapi-generator/FILES Tracks the generated model.
devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/TargetConnectionOptions.cs Adds the .NET options model.
devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/PreflightOperationKind.cs Adds the .NET enum member.
devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/PreflightOperation.cs Exposes connection options.
devolutions-gateway/openapi/dotnet-client/README.md Lists the new model.
devolutions-gateway/openapi/dotnet-client/docs/TargetConnectionOptions.md Documents the options model.
devolutions-gateway/openapi/dotnet-client/docs/PreflightOperation.md Documents the new property.
devolutions-gateway/openapi/dotnet-client/.openapi-generator/FILES Tracks generated .NET files.
devolutions-gateway/openapi/doc/index.adoc Updates generated API documentation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +425 to +426
#[serde(rename = "provision-connection-options")]
ProvisionConnectionOptions,
Comment on lines +405 to +408
/// Kerberos KDC address for the target-side CredSSP connection.
///
/// Supported schemes are `tcp` and `udp`.
krb_kdc: Option<String>,
PreflightOperationKind,
AppCredential,
AppCredentialKind,
TargetConnectionOptions,
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.

2 participants