feat: update endpoint swagger docs

This commit is contained in:
Ahmed Bouhuolia
2025-06-22 20:58:53 +02:00
parent b8c9919799
commit 9aa1ed93ca
18 changed files with 1545 additions and 16 deletions

View File

@@ -117,7 +117,10 @@ export class AccountsController {
status: 200,
description: 'The account types have been successfully retrieved.',
schema: {
$ref: getSchemaPath(AccountTypeResponseDto),
type: 'array',
items: {
$ref: getSchemaPath(AccountTypeResponseDto),
},
},
})
async getAccountTypes() {