Skip to content

Commit 6f1d115

Browse files
Update API Client
#### What's Changed --- ##### `GET` /admin/version/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` New required properties: - `version_latest_valid` * Added property `version_latest_valid` (boolean) > Latest version query is a valid non-default value
1 parent 8479925 commit 6f1d115

File tree

4 files changed

+64
-2
lines changed

4 files changed

+64
-2
lines changed

api/openapi.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -58753,6 +58753,7 @@ components:
5875358753
example:
5875458754
version_current: version_current
5875558755
outdated: true
58756+
version_latest_valid: true
5875658757
version_latest: version_latest
5875758758
build_hash: build_hash
5875858759
properties:
@@ -58764,6 +58765,10 @@ components:
5876458765
description: Get latest version from cache
5876558766
readOnly: true
5876658767
type: string
58768+
version_latest_valid:
58769+
description: Latest version query is a valid non-default value
58770+
readOnly: true
58771+
type: boolean
5876758772
build_hash:
5876858773
description: "Get build hash, if version is not latest or released"
5876958774
readOnly: true
@@ -58777,6 +58782,7 @@ components:
5877758782
- outdated
5877858783
- version_current
5877958784
- version_latest
58785+
- version_latest_valid
5878058786
type: object
5878158787
WebAuthnDevice:
5878258788
description: Serializer for WebAuthn authenticator devices

docs/Version.md

+22-1
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**VersionCurrent** | **string** | Get current version | [readonly]
88
**VersionLatest** | **string** | Get latest version from cache | [readonly]
9+
**VersionLatestValid** | **bool** | Latest version query is a valid non-default value | [readonly]
910
**BuildHash** | **string** | Get build hash, if version is not latest or released | [readonly]
1011
**Outdated** | **bool** | Check if we're running the latest version | [readonly]
1112

1213
## Methods
1314

1415
### NewVersion
1516

16-
`func NewVersion(versionCurrent string, versionLatest string, buildHash string, outdated bool, ) *Version`
17+
`func NewVersion(versionCurrent string, versionLatest string, versionLatestValid bool, buildHash string, outdated bool, ) *Version`
1718

1819
NewVersion instantiates a new Version object
1920
This constructor will assign default values to properties that have it defined,
@@ -68,6 +69,26 @@ and a boolean to check if the value has been set.
6869
SetVersionLatest sets VersionLatest field to given value.
6970

7071

72+
### GetVersionLatestValid
73+
74+
`func (o *Version) GetVersionLatestValid() bool`
75+
76+
GetVersionLatestValid returns the VersionLatestValid field if non-nil, zero value otherwise.
77+
78+
### GetVersionLatestValidOk
79+
80+
`func (o *Version) GetVersionLatestValidOk() (*bool, bool)`
81+
82+
GetVersionLatestValidOk returns a tuple with the VersionLatestValid field if it's non-nil, zero value otherwise
83+
and a boolean to check if the value has been set.
84+
85+
### SetVersionLatestValid
86+
87+
`func (o *Version) SetVersionLatestValid(v bool)`
88+
89+
SetVersionLatestValid sets VersionLatestValid field to given value.
90+
91+
7192
### GetBuildHash
7293

7394
`func (o *Version) GetBuildHash() string`

model_version.go

+31-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

schema.yml

+5
Original file line numberDiff line numberDiff line change
@@ -45583,6 +45583,10 @@ components:
4558345583
type: string
4558445584
description: Get latest version from cache
4558545585
readOnly: true
45586+
version_latest_valid:
45587+
type: boolean
45588+
description: Latest version query is a valid non-default value
45589+
readOnly: true
4558645590
build_hash:
4558745591
type: string
4558845592
description: Get build hash, if version is not latest or released
@@ -45596,6 +45600,7 @@ components:
4559645600
- outdated
4559745601
- version_current
4559845602
- version_latest
45603+
- version_latest_valid
4559945604
WebAuthnDevice:
4560045605
type: object
4560145606
description: Serializer for WebAuthn authenticator devices

0 commit comments

Comments
 (0)