Skip to content

Commit

Permalink
feat: REST Naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachid Flih authored and Rachid Flih committed Jul 29, 2024
1 parent b7ef10f commit f17012a
Show file tree
Hide file tree
Showing 4 changed files with 223 additions and 223 deletions.
8 changes: 4 additions & 4 deletions packages/api/scripts/commonObject.sh
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ private connectionUtils: ConnectionUtils
@ApiOperation({
operationId: 'get${ObjectCap}',
summary: 'Retrieve a ${ObjectCap}',
description: 'Retrieve a ${objectType} from any connected ${VerticalCap} software',
summary: 'Retrieve ${ObjectCap}',
description: 'Retrieve ${objectType} from any connected ${VerticalCap} software',
})
@ApiParam({
name: 'id',
Expand All @@ -360,8 +360,8 @@ private connectionUtils: ConnectionUtils
@ApiOperation({
operationId: 'add${ObjectCap}',
summary: 'Create a ${ObjectCap}',
description: 'Create a ${objectType} in any supported ${VerticalCap} software',
summary: 'Create ${ObjectCap}',
description: 'Create ${objectType} in any supported ${VerticalCap} software',
})
@ApiHeader({
name: 'x-connection-token',
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/accounting/account/account.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class AccountController {

@ApiOperation({
operationId: 'createAccountingAccount',
Accounts',
summary: 'Accounts',
description: 'Create accounts in any supported Accounting software',
})
@ApiHeader({
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/ats/eeocs/eeocs.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class EeocsController {

@ApiOperation({
operationId: 'retrieveAtsEeocs', // Updated operationId
summary: 'Retrieve a Eeocs',
summary: 'Retrieve Eeocs',
description: 'Retrieve a eeocs from any connected Ats software',
})
@ApiParam({
Expand Down
Loading

0 comments on commit f17012a

Please sign in to comment.