Skip to content

Commit ae1c11c

Browse files
committed
Rename handle to id
1 parent 0c5c2cf commit ae1c11c

File tree

4 files changed

+305
-305
lines changed

4 files changed

+305
-305
lines changed

gateway/gateway-controller/api/openapi.yaml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -835,10 +835,10 @@ paths:
835835
tags:
836836
- LLM Provider Management
837837
parameters:
838-
- name: displayName
838+
- name: name
839839
in: query
840840
required: false
841-
description: Filter by template display name
841+
description: Filter by template name
842842
schema:
843843
type: string
844844
example: OpenAI
@@ -867,15 +867,15 @@ paths:
867867
schema:
868868
$ref: '#/components/schemas/ErrorResponse'
869869

870-
/llm-provider-templates/{handle}:
870+
/llm-provider-templates/{id}:
871871
get:
872-
summary: Get LLM provider template by handle
872+
summary: Get LLM provider template by id
873873
description: Retrieve the complete configuration for a specific LLM provider template
874-
operationId: getLLMProviderTemplateByHandle
874+
operationId: getLLMProviderTemplateById
875875
tags:
876876
- LLM Provider Management
877877
parameters:
878-
- name: handle
878+
- name: id
879879
in: path
880880
required: true
881881
description: Unique public identifier for the LLM provider template
@@ -913,10 +913,10 @@ paths:
913913
tags:
914914
- LLM Provider Management
915915
parameters:
916-
- name: handle
916+
- name: id
917917
in: path
918918
required: true
919-
description: Name of the template to update
919+
description: Identifier of the template to update
920920
schema:
921921
type: string
922922
example: openai
@@ -963,10 +963,10 @@ paths:
963963
tags:
964964
- LLM Provider Management
965965
parameters:
966-
- name: handle
966+
- name: id
967967
in: path
968968
required: true
969-
description: Name of the template to delete
969+
description: Identifier of the template to delete
970970
schema:
971971
type: string
972972
example: openai
@@ -1053,10 +1053,10 @@ paths:
10531053
tags:
10541054
- LLM Provider Management
10551055
parameters:
1056-
- name: displayName
1056+
- name: name
10571057
in: query
10581058
required: false
1059-
description: Filter by LLM provider display name
1059+
description: Filter by LLM provider name
10601060
schema:
10611061
type: string
10621062
example: OpenAI Provider
@@ -1114,15 +1114,15 @@ paths:
11141114
schema:
11151115
$ref: '#/components/schemas/ErrorResponse'
11161116

1117-
/llm-providers/{handle}:
1117+
/llm-providers/{id}:
11181118
get:
1119-
summary: Get LLM provider by handle
1119+
summary: Get LLM provider by identifier
11201120
description: Retrieve the complete configuration for a specific LLM provider
1121-
operationId: getLLMProviderByHandle
1121+
operationId: getLLMProviderById
11221122
tags:
11231123
- LLM Provider Management
11241124
parameters:
1125-
- name: handle
1125+
- name: id
11261126
in: path
11271127
required: true
11281128
description: Handle of the LLM provider
@@ -1159,7 +1159,7 @@ paths:
11591159
tags:
11601160
- LLM Provider Management
11611161
parameters:
1162-
- name: handle
1162+
- name: id
11631163
in: path
11641164
required: true
11651165
description: Handle of the LLM provider
@@ -1209,7 +1209,7 @@ paths:
12091209
tags:
12101210
- LLM Provider Management
12111211
parameters:
1212-
- name: handle
1212+
- name: id
12131213
in: path
12141214
required: true
12151215
description: Handle of the LLM provider
@@ -1230,7 +1230,7 @@ paths:
12301230
message:
12311231
type: string
12321232
example: LLM provider deleted successfully
1233-
handle:
1233+
id:
12341234
type: string
12351235
example: wso2-openai
12361236
'404':
@@ -2158,7 +2158,7 @@ components:
21582158
message:
21592159
type: string
21602160
example: LLM provider template created successfully
2161-
handle:
2161+
id:
21622162
type: string
21632163
example: openai
21642164
created_at:
@@ -2175,7 +2175,7 @@ components:
21752175
message:
21762176
type: string
21772177
example: LLM provider template updated successfully
2178-
handle:
2178+
id:
21792179
type: string
21802180
example: openai
21812181
updated_at:
@@ -2186,10 +2186,10 @@ components:
21862186
LLMProviderTemplateListItem:
21872187
type: object
21882188
properties:
2189-
handle:
2189+
id:
21902190
type: string
21912191
example: openai
2192-
displayName:
2192+
name:
21932193
type: string
21942194
example: OpenAI
21952195
created_at:
@@ -2210,7 +2210,7 @@ components:
22102210
template:
22112211
type: object
22122212
properties:
2213-
handle:
2213+
id:
22142214
type: string
22152215
example: openai
22162216
configuration:
@@ -2236,7 +2236,7 @@ components:
22362236
message:
22372237
type: string
22382238
example: LLM provider created successfully
2239-
handle:
2239+
id:
22402240
type: string
22412241
example: openai
22422242
created_at:
@@ -2253,7 +2253,7 @@ components:
22532253
message:
22542254
type: string
22552255
example: LLM provider updated successfully
2256-
handle:
2256+
id:
22572257
type: string
22582258
example: openai
22592259
updated_at:
@@ -2264,10 +2264,10 @@ components:
22642264
LLMProviderListItem:
22652265
type: object
22662266
properties:
2267-
handle:
2267+
id:
22682268
type: string
22692269
example: openai-provider
2270-
displayName:
2270+
name:
22712271
type: string
22722272
example: wso2-openai-provider
22732273
version:
@@ -2301,7 +2301,7 @@ components:
23012301
provider:
23022302
type: object
23032303
properties:
2304-
handle:
2304+
id:
23052305
type: string
23062306
example: wso2-openai
23072307
configuration:

0 commit comments

Comments
 (0)