From daea3e51a2779db826480f7ebbf8f300b61fdb99 Mon Sep 17 00:00:00 2001 From: nael Date: Sat, 14 Sep 2024 20:47:08 +0200 Subject: [PATCH] :memo: Swagger connections function name --- packages/api/src/@core/connections/connections.controller.ts | 5 ++++- packages/api/swagger/swagger-spec.yaml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/api/src/@core/connections/connections.controller.ts b/packages/api/src/@core/connections/connections.controller.ts index c91eb7818..a570c14a9 100644 --- a/packages/api/src/@core/connections/connections.controller.ts +++ b/packages/api/src/@core/connections/connections.controller.ts @@ -186,7 +186,10 @@ export class ConnectionsController { } } - @ApiOperation({ operationId: 'getConnections', summary: 'List Connections' }) + @ApiOperation({ + operationId: 'retrieveConnections', + summary: 'List Connections', + }) @ApiGetArrayCustomResponse(Connection) @UseGuards(ApiKeyAuthGuard) @Get() diff --git a/packages/api/swagger/swagger-spec.yaml b/packages/api/swagger/swagger-spec.yaml index b9ed302e8..ba9083962 100644 --- a/packages/api/swagger/swagger-spec.yaml +++ b/packages/api/swagger/swagger-spec.yaml @@ -181,7 +181,7 @@ paths: x-speakeasy-group: auth.login /connections: get: - operationId: getConnections + operationId: retrieveConnections summary: List Connections parameters: [] responses: