@@ -40,6 +40,7 @@ export const aiGatewayRouter = router({
4040 path : '/workspace/{workspaceId}/aiGateway/all' ,
4141 tags : [ OPENAPI_TAG . AI_GATEWAY ] ,
4242 protect : true ,
43+ summary : 'Get all gateways' ,
4344 } ,
4445 } )
4546 . output ( z . array ( AIGatewayModelSchema ) )
@@ -70,6 +71,7 @@ export const aiGatewayRouter = router({
7071 buildAIGatewayOpenapi ( {
7172 method : 'GET' ,
7273 path : '/info' ,
74+ summary : 'Get gateway info' ,
7375 } )
7476 )
7577 . input (
@@ -109,6 +111,7 @@ export const aiGatewayRouter = router({
109111 path : '/workspace/{workspaceId}/aiGateway/create' ,
110112 tags : [ OPENAPI_TAG . APPLICATION ] ,
111113 protect : true ,
114+ summary : 'Create gateway' ,
112115 } ,
113116 } )
114117 . input ( aiGatewayCreateSchema )
@@ -152,6 +155,7 @@ export const aiGatewayRouter = router({
152155 buildAIGatewayOpenapi ( {
153156 method : 'PATCH' ,
154157 path : '/update' ,
158+ summary : 'Update gateway' ,
155159 } )
156160 )
157161 . input (
@@ -207,6 +211,7 @@ export const aiGatewayRouter = router({
207211 buildAIGatewayOpenapi ( {
208212 method : 'DELETE' ,
209213 path : '/delete' ,
214+ summary : 'Delete gateway' ,
210215 } )
211216 )
212217 . input (
@@ -242,6 +247,7 @@ export const aiGatewayRouter = router({
242247 buildAIGatewayOpenapi ( {
243248 method : 'GET' ,
244249 path : '/logs' ,
250+ summary : 'Get gateway logs' ,
245251 } )
246252 )
247253 . input (
@@ -296,6 +302,7 @@ export const aiGatewayRouter = router({
296302 buildAIGatewayOpenapi ( {
297303 method : 'GET' ,
298304 path : '/model-pricing' ,
305+ summary : 'Get model pricing' ,
299306 } )
300307 )
301308 . input (
@@ -432,6 +439,7 @@ export const aiGatewayRouter = router({
432439 buildAIGatewayOpenapi ( {
433440 method : 'GET' ,
434441 path : '/quota-alert' ,
442+ summary : 'Get quota alert' ,
435443 } )
436444 )
437445 . input (
@@ -484,6 +492,7 @@ export const aiGatewayRouter = router({
484492 buildAIGatewayOpenapi ( {
485493 method : 'POST' ,
486494 path : '/quota-alert/upsert' ,
495+ summary : 'Upsert quota alert' ,
487496 } )
488497 )
489498 . input (
@@ -543,6 +552,7 @@ export const aiGatewayRouter = router({
543552 buildAIGatewayOpenapi ( {
544553 method : 'DELETE' ,
545554 path : '/quota-alert/delete' ,
555+ summary : 'Delete quota alert' ,
546556 } )
547557 )
548558 . input (
0 commit comments