Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions devolutions-gateway/openapi/gateway-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ info:
email: infos@devolutions.net
license:
name: MIT/Apache-2.0
version: 2026.1.2
version: 2026.2.4
paths:
/jet/config:
patch:
Expand Down Expand Up @@ -2179,7 +2179,8 @@ components:
- Version
properties:
Version:
$ref: '#/components/schemas/VersionSpecification'
type: string
description: 'Requested or installed version: `"latest"` or `"YYYY.M.D"` / `"YYYY.M.D.R"`.'
UpdateRequestSchema:
type: object
description: |-
Expand Down
3 changes: 3 additions & 0 deletions devolutions-gateway/src/api/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ async fn write_manifest(mut manifest: UpdateManifestV2) -> Result<(), HttpError>
#[serde(rename_all = "PascalCase")]
pub(crate) struct UpdateProductInfo {
/// Requested or installed version: `"latest"` or `"YYYY.M.D"` / `"YYYY.M.D.R"`.
// `VersionSpecification` serializes as one of those strings and lives in a crate without utoipa,
// so describe it as a string here instead of emitting a `$ref` to a schema that never gets generated.
#[cfg_attr(feature = "openapi", schema(value_type = String))]
pub version: VersionSpecification,
}

Expand Down
Loading