@@ -53,7 +53,9 @@ fn all_apis() -> anyhow::Result<ManagedApis> {
5353 let apis = vec ! [
5454 ManagedApiConfig {
5555 title: "Bootstrap Agent API" ,
56- versions: Versions :: new_lockstep( semver:: Version :: new( 0 , 0 , 1 ) ) ,
56+ versions: Versions :: new_versioned(
57+ bootstrap_agent_api:: supported_versions( ) ,
58+ ) ,
5759 metadata: ManagedApiMetadata {
5860 description: Some ( "Per-sled API for setup and teardown" ) ,
5961 contact_url: Some ( "https://oxide.computer" ) ,
@@ -172,7 +174,9 @@ fn all_apis() -> anyhow::Result<ManagedApis> {
172174 } ,
173175 ManagedApiConfig {
174176 title: "Installinator API" ,
175- versions: Versions :: new_lockstep( semver:: Version :: new( 0 , 0 , 1 ) ) ,
177+ versions: Versions :: new_versioned(
178+ installinator_api:: supported_versions( ) ,
179+ ) ,
176180 metadata: ManagedApiMetadata {
177181 description: Some (
178182 "API for installinator to fetch artifacts \
@@ -205,7 +209,9 @@ fn all_apis() -> anyhow::Result<ManagedApis> {
205209 } ,
206210 ManagedApiConfig {
207211 title: "Nexus internal API" ,
208- versions: Versions :: new_lockstep( semver:: Version :: new( 0 , 0 , 1 ) ) ,
212+ versions: Versions :: new_versioned(
213+ nexus_internal_api:: supported_versions( ) ,
214+ ) ,
209215 metadata: ManagedApiMetadata {
210216 description: Some ( "Nexus internal API" ) ,
211217 contact_url: Some ( "https://oxide.computer" ) ,
@@ -261,7 +267,9 @@ fn all_apis() -> anyhow::Result<ManagedApis> {
261267 } ,
262268 ManagedApiConfig {
263269 title: "Oxide TUF Repo Depot API" ,
264- versions: Versions :: new_lockstep( semver:: Version :: new( 0 , 0 , 1 ) ) ,
270+ versions: Versions :: new_versioned(
271+ repo_depot_api:: supported_versions( ) ,
272+ ) ,
265273 metadata: ManagedApiMetadata {
266274 description: Some ( "API for fetching update artifacts" ) ,
267275 contact_url: Some ( "https://oxide.computer" ) ,
0 commit comments