diff --git a/nexus/src/lib.rs b/nexus/src/lib.rs index 81a4074392..a8dd3d0233 100644 --- a/nexus/src/lib.rs +++ b/nexus/src/lib.rs @@ -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("api@oxide.computer") diff --git a/nexus/tests/integration_tests/commands.rs b/nexus/tests/integration_tests/commands.rs index fd7a6c60c0..2eaf24d907 100644 --- a/nexus/tests/integration_tests/commands.rs +++ b/nexus/tests/integration_tests/commands.rs @@ -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()); diff --git a/openapi/nexus.json b/openapi/nexus.json index cd54457f25..88319cbf3a 100644 --- a/openapi/nexus.json +++ b/openapi/nexus.json @@ -7,7 +7,7 @@ "url": "https://oxide.computer", "email": "api@oxide.computer" }, - "version": "20240327.0" + "version": "20240502.0" }, "paths": { "/device/auth": {