Skip to content

Commit

Permalink
📝 Swagger connections function name
Browse files Browse the repository at this point in the history
  • Loading branch information
naelob committed Sep 14, 2024
1 parent 761d285 commit daea3e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/api/src/@core/connections/connections.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ export class ConnectionsController {
}
}

@ApiOperation({ operationId: 'getConnections', summary: 'List Connections' })
@ApiOperation({
operationId: 'retrieveConnections',
summary: 'List Connections',
})
@ApiGetArrayCustomResponse(Connection)
@UseGuards(ApiKeyAuthGuard)
@Get()
Expand Down
2 changes: 1 addition & 1 deletion packages/api/swagger/swagger-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ paths:
x-speakeasy-group: auth.login
/connections:
get:
operationId: getConnections
operationId: retrieveConnections
summary: List Connections
parameters: []
responses:
Expand Down

0 comments on commit daea3e5

Please sign in to comment.