From 31d557eaaad1cd655be50cef4ab34e52ffdc87ce Mon Sep 17 00:00:00 2001 From: Ryan Goodfellow Date: Mon, 26 Feb 2024 11:29:41 -0800 Subject: [PATCH] api tag probes -> system/probes --- nexus/src/external_api/http_entrypoints.rs | 8 ++++---- nexus/src/external_api/tag-config.json | 2 +- nexus/tests/output/nexus_tags.txt | 14 +++++++------- openapi/nexus.json | 22 +++++++++++----------- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/nexus/src/external_api/http_entrypoints.rs b/nexus/src/external_api/http_entrypoints.rs index 7857c5106a8..9b855895a3e 100644 --- a/nexus/src/external_api/http_entrypoints.rs +++ b/nexus/src/external_api/http_entrypoints.rs @@ -5979,7 +5979,7 @@ async fn current_user_ssh_key_delete( #[endpoint { method = GET, path = "/v1/probes", - tags = ["probes"], + tags = ["system/probes"], }] async fn probe_list( rqctx: RequestContext>, @@ -6017,7 +6017,7 @@ async fn probe_list( #[endpoint { method = GET, path = "/v1/probes/{probe}", - tags = ["probes"], + tags = ["system/probes"], }] async fn probe_view( rqctx: RequestContext>, @@ -6044,7 +6044,7 @@ async fn probe_view( #[endpoint { method = POST, path = "/v1/probes", - tags = ["probes"], + tags = ["system/probes"], }] async fn probe_create( rqctx: RequestContext>, @@ -6072,7 +6072,7 @@ async fn probe_create( #[endpoint { method = DELETE, path = "/v1/probes/{probe}", - tags = ["probes"], + tags = ["system/probes"], }] async fn probe_delete( rqctx: RequestContext>, diff --git a/nexus/src/external_api/tag-config.json b/nexus/src/external_api/tag-config.json index f56e1a9c9b6..6974906507d 100644 --- a/nexus/src/external_api/tag-config.json +++ b/nexus/src/external_api/tag-config.json @@ -86,7 +86,7 @@ "url": "http://docs.oxide.computer/api/vpcs" } }, - "probes": { + "system/probes": { "description": "Probes for testing network connectivity", "external_docs": { "url": "http://docs.oxide.computer/api/probes" diff --git a/nexus/tests/output/nexus_tags.txt b/nexus/tests/output/nexus_tags.txt index 8b7b7546f88..82a80734257 100644 --- a/nexus/tests/output/nexus_tags.txt +++ b/nexus/tests/output/nexus_tags.txt @@ -74,13 +74,6 @@ OPERATION ID METHOD URL PATH system_policy_update PUT /v1/system/policy system_policy_view GET /v1/system/policy -API operations found with tag "probes" -OPERATION ID METHOD URL PATH -probe_create POST /v1/probes -probe_delete DELETE /v1/probes/{probe} -probe_list GET /v1/probes -probe_view GET /v1/probes/{probe} - API operations found with tag "projects" OPERATION ID METHOD URL PATH project_create POST /v1/projects @@ -190,6 +183,13 @@ networking_switch_port_settings_delete DELETE /v1/system/networking/switch-p networking_switch_port_settings_list GET /v1/system/networking/switch-port-settings networking_switch_port_settings_view GET /v1/system/networking/switch-port-settings/{port} +API operations found with tag "system/probes" +OPERATION ID METHOD URL PATH +probe_create POST /v1/probes +probe_delete DELETE /v1/probes/{probe} +probe_list GET /v1/probes +probe_view GET /v1/probes/{probe} + API operations found with tag "system/silos" OPERATION ID METHOD URL PATH local_idp_user_create POST /v1/system/identity-providers/local/users diff --git a/openapi/nexus.json b/openapi/nexus.json index de3ad63499b..bd222c384e4 100644 --- a/openapi/nexus.json +++ b/openapi/nexus.json @@ -3313,7 +3313,7 @@ "/v1/probes": { "get": { "tags": [ - "probes" + "system/probes" ], "summary": "List instrumentation probes.", "operationId": "probe_list", @@ -3380,7 +3380,7 @@ }, "post": { "tags": [ - "probes" + "system/probes" ], "summary": "Create an instrumentation probe.", "operationId": "probe_create", @@ -3428,7 +3428,7 @@ "/v1/probes/{probe}": { "get": { "tags": [ - "probes" + "system/probes" ], "summary": "View an instrumentation probe.", "operationId": "probe_view", @@ -3473,7 +3473,7 @@ }, "delete": { "tags": [ - "probes" + "system/probes" ], "summary": "Delete an instrumentation probe.", "operationId": "probe_delete", @@ -17734,13 +17734,6 @@ "url": "http://docs.oxide.computer/api/policy" } }, - { - "name": "probes", - "description": "Probes for testing network connectivity", - "externalDocs": { - "url": "http://docs.oxide.computer/api/probes" - } - }, { "name": "projects", "description": "Projects are a grouping of associated resources such as instances and disks within a silo for purposes of billing and access control.", @@ -17797,6 +17790,13 @@ "url": "http://docs.oxide.computer/api/system-networking" } }, + { + "name": "system/probes", + "description": "Probes for testing network connectivity", + "externalDocs": { + "url": "http://docs.oxide.computer/api/probes" + } + }, { "name": "system/silos", "description": "Silos represent a logical partition of users and resources.",