Skip to content

Commit

Permalink
update public API version for release 8 (#5690)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahl authored May 2, 2024
1 parent ee901b0 commit faa8b8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nexus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ extern crate slog;
/// to stdout.
pub fn run_openapi_external() -> Result<(), String> {
external_api()
.openapi("Oxide Region API", "20240327.0")
.openapi("Oxide Region API", "20240502.0")
.description("API for interacting with the Oxide control plane")
.contact_url("https://oxide.computer")
.contact_email("[email protected]")
Expand Down
2 changes: 1 addition & 1 deletion nexus/tests/integration_tests/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ fn test_nexus_openapi() {
.expect("stdout was not valid OpenAPI");
assert_eq!(spec.openapi, "3.0.3");
assert_eq!(spec.info.title, "Oxide Region API");
assert_eq!(spec.info.version, "20240327.0");
assert_eq!(spec.info.version, "20240502.0");

// Spot check a couple of items.
assert!(!spec.paths.paths.is_empty());
Expand Down
2 changes: 1 addition & 1 deletion openapi/nexus.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://oxide.computer",
"email": "[email protected]"
},
"version": "20240327.0"
"version": "20240502.0"
},
"paths": {
"/device/auth": {
Expand Down

0 comments on commit faa8b8f

Please sign in to comment.