Skip to content

Commit bb59581

Browse files
Bump dependencies, progenitor to 5fededb4, oxide.json to omicron:edc17ae7 (#741)
Co-authored-by: oxide-reflector-bot[bot] <130185838+oxide-reflector-bot[bot]@users.noreply.github.com>
1 parent 65139d0 commit bb59581

File tree

3 files changed

+21
-19
lines changed

3 files changed

+21
-19
lines changed

Cargo.lock

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

oxide.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://oxide.computer",
88
"email": "api@oxide.computer"
99
},
10-
"version": "20240710.0"
10+
"version": "20240821.0"
1111
},
1212
"paths": {
1313
"/device/auth": {
@@ -10013,7 +10013,8 @@
1001310013
},
1001410014
"revision": {
1001510015
"type": "integer",
10016-
"format": "int64"
10016+
"format": "uint32",
10017+
"minimum": 0
1001710018
},
1001810019
"serial": {
1001910020
"type": "string"

sdk/src/generated_sdk.rs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,8 @@ pub mod types {
10331033
/// },
10341034
/// "revision": {
10351035
/// "type": "integer",
1036-
/// "format": "int64"
1036+
/// "format": "uint32",
1037+
/// "minimum": 0.0
10371038
/// },
10381039
/// "serial": {
10391040
/// "type": "string"
@@ -1045,7 +1046,7 @@ pub mod types {
10451046
#[derive(Clone, Debug, Deserialize, Serialize, schemars :: JsonSchema)]
10461047
pub struct Baseboard {
10471048
pub part: String,
1048-
pub revision: i64,
1049+
pub revision: u32,
10491050
pub serial: String,
10501051
}
10511052

@@ -27065,7 +27066,7 @@ pub mod types {
2706527066
#[derive(Clone, Debug)]
2706627067
pub struct Baseboard {
2706727068
part: Result<String, String>,
27068-
revision: Result<i64, String>,
27069+
revision: Result<u32, String>,
2706927070
serial: Result<String, String>,
2707027071
}
2707127072

@@ -27092,7 +27093,7 @@ pub mod types {
2709227093
}
2709327094
pub fn revision<T>(mut self, value: T) -> Self
2709427095
where
27095-
T: std::convert::TryInto<i64>,
27096+
T: std::convert::TryInto<u32>,
2709627097
T::Error: std::fmt::Display,
2709727098
{
2709827099
self.revision = value
@@ -45687,7 +45688,7 @@ pub mod types {
4568745688
///
4568845689
/// API for interacting with the Oxide control plane
4568945690
///
45690-
/// Version: 20240710.0
45691+
/// Version: 20240821.0
4569145692
pub struct Client {
4569245693
pub(crate) baseurl: String,
4569345694
pub(crate) client: reqwest::Client,
@@ -45740,7 +45741,7 @@ impl Client {
4574045741
/// This string is pulled directly from the source OpenAPI
4574145742
/// document and may be in any format the API selects.
4574245743
pub fn api_version(&self) -> &'static str {
45743-
"20240710.0"
45744+
"20240821.0"
4574445745
}
4574545746
}
4574645747

0 commit comments

Comments
 (0)