mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
docs: rename AI Bridge to AI Gateway in swagger summaries (#26704)
Update `@Summary` and `@ID` annotations in `enterprise/coderd/aibridge.go` from "AI Bridge" to "AI Gateway". Regenerate swagger docs and API reference via `make gen`. This was missed in the original API route aliases PR (#26475) which renamed `@Tags` but not `@Summary` or `@ID` values. The `@ID` must also change because a test (`assertConsistencyBetweenRouteIDAndSummary`) enforces that the ID is the kebab-case form of the summary. Refs https://linear.app/codercom/issue/AIGOV-230 > Generated with the assistance of Coder Agents (@ssncferreira)
This commit is contained in:
Generated
+8
-8
@@ -1389,8 +1389,8 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"AI Gateway"
|
||||
],
|
||||
"summary": "List AI Bridge clients",
|
||||
"operationId": "list-ai-bridge-clients",
|
||||
"summary": "List AI Gateway clients",
|
||||
"operationId": "list-ai-gateway-clients",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
@@ -1512,8 +1512,8 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"AI Gateway"
|
||||
],
|
||||
"summary": "List AI Bridge models",
|
||||
"operationId": "list-ai-bridge-models",
|
||||
"summary": "List AI Gateway models",
|
||||
"operationId": "list-ai-gateway-models",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
@@ -1541,8 +1541,8 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"AI Gateway"
|
||||
],
|
||||
"summary": "List AI Bridge sessions",
|
||||
"operationId": "list-ai-bridge-sessions",
|
||||
"summary": "List AI Gateway sessions",
|
||||
"operationId": "list-ai-gateway-sessions",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
@@ -1593,8 +1593,8 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"AI Gateway"
|
||||
],
|
||||
"summary": "Get AI Bridge session threads",
|
||||
"operationId": "get-ai-bridge-session-threads",
|
||||
"summary": "Get AI Gateway session threads",
|
||||
"operationId": "get-ai-gateway-session-threads",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
|
||||
Generated
+8
-8
@@ -1228,8 +1228,8 @@
|
||||
"description": "Alias: also available at /api/v2/aibridge/clients for backward compatibility.",
|
||||
"produces": ["application/json"],
|
||||
"tags": ["AI Gateway"],
|
||||
"summary": "List AI Bridge clients",
|
||||
"operationId": "list-ai-bridge-clients",
|
||||
"summary": "List AI Gateway clients",
|
||||
"operationId": "list-ai-gateway-clients",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
@@ -1335,8 +1335,8 @@
|
||||
"description": "Alias: also available at /api/v2/aibridge/models for backward compatibility.",
|
||||
"produces": ["application/json"],
|
||||
"tags": ["AI Gateway"],
|
||||
"summary": "List AI Bridge models",
|
||||
"operationId": "list-ai-bridge-models",
|
||||
"summary": "List AI Gateway models",
|
||||
"operationId": "list-ai-gateway-models",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
@@ -1360,8 +1360,8 @@
|
||||
"description": "Alias: also available at /api/v2/aibridge/sessions for backward compatibility.",
|
||||
"produces": ["application/json"],
|
||||
"tags": ["AI Gateway"],
|
||||
"summary": "List AI Bridge sessions",
|
||||
"operationId": "list-ai-bridge-sessions",
|
||||
"summary": "List AI Gateway sessions",
|
||||
"operationId": "list-ai-gateway-sessions",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
@@ -1408,8 +1408,8 @@
|
||||
"description": "Alias: also available at /api/v2/aibridge/sessions/{session_id} for backward compatibility.",
|
||||
"produces": ["application/json"],
|
||||
"tags": ["AI Gateway"],
|
||||
"summary": "Get AI Bridge session threads",
|
||||
"operationId": "get-ai-bridge-session-threads",
|
||||
"summary": "Get AI Gateway session threads",
|
||||
"operationId": "get-ai-gateway-session-threads",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
|
||||
Reference in New Issue
Block a user