Skip to content

Commit 50d4e0f

Browse files
fix(openapi): address Copilot review on dual-op client regen
Append provision-connection-options after resolve-host for stable C# enum values, document required KDC port, and bump client package versions for the new API surface.
1 parent 62786d2 commit 50d4e0f

8 files changed

Lines changed: 20 additions & 19 deletions

File tree

‎devolutions-gateway/openapi/dotnet-client/config.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"packageAuthors": "Devolutions Inc.",
33
"packageName": "Devolutions.Gateway.Client",
44
"packageTitle": "Devolutions Gateway REST API Client",
5-
"packageVersion": "2025.12.2",
5+
"packageVersion": "2026.2.4",
66
"packageDescription": "Client for Devolutions Gateway REST API",
77
"packageGuid": "EF1E8A60-F71D-4F02-A779-B113740FF5CC",
88
"packageCopyright": "© Devolutions Inc. All rights reserved.",

‎devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Devolutions.Gateway.Client.csproj‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/PreflightOperationKind.cs‎

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎devolutions-gateway/openapi/gateway-api.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,8 +1824,8 @@ components:
18241824
- get-recording-storage-health
18251825
- provision-token
18261826
- provision-credentials
1827-
- provision-connection-options
18281827
- resolve-host
1828+
- provision-connection-options
18291829
PreflightOutput:
18301830
type: object
18311831
required:
@@ -1998,7 +1998,7 @@ components:
19981998
nullable: true
19991999
krb_kdc:
20002000
type: string
2001-
description: |-
2001+
description: Kerberos KDC address (`<scheme>://<host>:<port>`; port required). Supported schemes: tcp, udp.
20022002
Kerberos KDC address.
20032003

20042004
E.g.: `tcp://IT-HELP-DC.ad.it-help.ninja:88`.
@@ -2117,7 +2117,7 @@ components:
21172117
properties:
21182118
krb_kdc:
21192119
type: string
2120-
description: |-
2120+
description: Kerberos KDC address (`<scheme>://<host>:<port>`; port required). Supported schemes: tcp, udp.
21212121
Kerberos KDC address for the target-side CredSSP connection.
21222122

21232123
Supported schemes are `tcp` and `udp`.

‎devolutions-gateway/openapi/ts-angular-client/config.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"npmName": "@devolutions/gateway-client",
3-
"npmVersion": "0.15.0",
3+
"npmVersion": "0.16.0",
44
"license": "MIT OR Apache-2.0",
55
"gitHost": "github.com",
66
"gitUserId": "Devolutions",

‎devolutions-gateway/openapi/ts-angular-client/model/preflightOperationKind.ts‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎devolutions-gateway/openapi/ts-angular-client/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devolutions/gateway-client",
3-
"version": "0.15.0",
3+
"version": "0.16.0",
44
"description": "OpenAPI client for @devolutions/gateway-client",
55
"author": "OpenAPI-Generator Contributors",
66
"repository": {

‎devolutions-gateway/src/openapi.rs‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ struct PreflightOperation {
404404
struct TargetConnectionOptions {
405405
/// Kerberos KDC address for the target-side CredSSP connection.
406406
///
407-
/// Supported schemes are `tcp` and `udp`.
407+
/// Format: `<scheme>://<host>:<port>` (port is required). Supported schemes are `tcp` and `udp`.
408408
krb_kdc: Option<String>,
409409
}
410410

@@ -422,10 +422,11 @@ enum PreflightOperationKind {
422422
ProvisionToken,
423423
#[serde(rename = "provision-credentials")]
424424
ProvisionCredentials,
425-
#[serde(rename = "provision-connection-options")]
426-
ProvisionConnectionOptions,
427425
#[serde(rename = "resolve-host")]
428426
ResolveHost,
427+
// Append-only: keep after ResolveHost so generated C# numeric values for existing variants stay stable.
428+
#[serde(rename = "provision-connection-options")]
429+
ProvisionConnectionOptions,
429430
}
430431

431432
#[allow(unused)]

0 commit comments

Comments
 (0)