feat: change the controllers tags

This commit is contained in:
Ahmed Bouhuolia
2025-06-13 01:57:53 +02:00
parent ff93168d72
commit bcae2dae03
63 changed files with 77 additions and 71 deletions

View File

@@ -15,7 +15,7 @@ import { IAccountsFilter, IAccountsTransactionsFilter } from './Accounts.types';
import { ApiOperation, ApiParam, ApiResponse, ApiTags } from '@nestjs/swagger';
@Controller('accounts')
@ApiTags('accounts')
@ApiTags('Accounts')
export class AccountsController {
constructor(private readonly accountsApplication: AccountsApplication) {}

View File

@@ -14,7 +14,7 @@ import { CreateBankRuleDto } from './dtos/BankRule.dto';
import { EditBankRuleDto } from './dtos/BankRule.dto';
@Controller('banking/rules')
@ApiTags('bank-rules')
@ApiTags('Bank Rules')
export class BankRulesController {
constructor(private readonly bankRulesApplication: BankRulesApplication) {}

View File

@@ -4,7 +4,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
import { ICashflowAccountsFilter } from './types/BankAccounts.types';
@Controller('banking/accounts')
@ApiTags('banking-accounts')
@ApiTags('Bank Accounts')
export class BankAccountsController {
constructor(private bankAccountsApplication: BankAccountsApplication) {}

View File

@@ -5,7 +5,7 @@ import { CategorizeBankTransactionRouteDto } from './dtos/CategorizeBankTransact
import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
@Controller('banking/categorize')
@ApiTags('banking-categorization')
@ApiTags('Banking Categorization')
export class BankingCategorizeController {
constructor(
private readonly bankingCategorizeApplication: BankingCategorizeApplication,

View File

@@ -5,7 +5,7 @@ import { GetMatchedTransactionsFilter } from './types';
import { MatchBankTransactionDto } from './dtos/MatchBankTransaction.dto';
@Controller('banking/matching')
@ApiTags('banking-transactions-matching')
@ApiTags('Banking Transactions Matching')
export class BankingMatchingController {
constructor(
private readonly bankingMatchingApplication: BankingMatchingApplication,

View File

@@ -4,7 +4,7 @@ import { PlaidItemDto } from './dtos/PlaidItem.dto';
import { ApiOperation, ApiTags } from '@nestjs/swagger';
@Controller('banking/plaid')
@ApiTags('banking-plaid')
@ApiTags('Banking Plaid')
export class BankingPlaidController {
constructor(private readonly plaidApplication: PlaidApplication) {}

View File

@@ -3,7 +3,7 @@ import { ApiTags } from '@nestjs/swagger';
import { RecognizedTransactionsApplication } from './RecognizedTransactions.application';
@Controller('banking/recognized')
@ApiTags('banking-recognized')
@ApiTags('Banking Recognized Transactions')
export class BankingRecognizedTransactionsController {
constructor(
private readonly recognizedTransactionsApplication: RecognizedTransactionsApplication,

View File

@@ -4,7 +4,7 @@ import { BankingTransactionsApplication } from '../BankingTransactionsApplicatio
import { GetPendingTransactionsQueryDto } from '../dtos/GetPendingTransactionsQuery.dto';
@Controller('banking/pending')
@ApiTags('banking-pending')
@ApiTags('Banking Pending Transactions')
export class BankingPendingTransactionsController {
constructor(
private readonly bankingTransactionsApplication: BankingTransactionsApplication,

View File

@@ -13,7 +13,7 @@ import { CreateBankTransactionDto } from '../dtos/CreateBankTransaction.dto';
import { GetBankTransactionsQueryDto } from '../dtos/GetBankTranasctionsQuery.dto';
@Controller('banking/transactions')
@ApiTags('banking-transactions')
@ApiTags('Banking Transactions')
export class BankingTransactionsController {
constructor(
private readonly bankingTransactionsApplication: BankingTransactionsApplication,

View File

@@ -10,7 +10,7 @@ import { GetUncategorizedTransactionsQueryDto } from '../dtos/GetUncategorizedTr
import { BankingTransactionsApplication } from '../BankingTransactionsApplication.service';
@Controller('banking/uncategorized')
@ApiTags('banking-uncategorized')
@ApiTags('Banking Uncategorized Transactions')
export class BankingUncategorizedTransactionsController {
constructor(
private readonly bankingTransactionsApplication: BankingTransactionsApplication,

View File

@@ -13,7 +13,7 @@ import { ExcludedBankTransactionsQuery } from './types/BankTransactionsExclude.t
import { ApiOperation, ApiTags } from '@nestjs/swagger';
@Controller('banking/exclude')
@ApiTags('banking-transactions')
@ApiTags('Banking Transactions')
export class BankingTransactionsExcludeController {
constructor(
private readonly excludeBankTransactionsApplication: ExcludeBankTransactionsApplication,

View File

@@ -18,7 +18,7 @@ import { GetBillPaymentsFilterDto } from './dtos/GetBillPaymentsFilter.dto';
import { BillPaymentsPages } from './commands/BillPaymentsPages.service';
@Controller('bill-payments')
@ApiTags('bill-payments')
@ApiTags('Bill Payments')
export class BillPaymentsController {
constructor(
private billPaymentsApplication: BillPaymentsApplication,

View File

@@ -14,7 +14,7 @@ import { IBillsFilter } from './Bills.types';
import { CreateBillDto, EditBillDto } from './dtos/Bill.dto';
@Controller('bills')
@ApiTags('bills')
@ApiTags('Bills')
export class BillsController {
constructor(private billsApplication: BillsApplication) {}

View File

@@ -12,7 +12,7 @@ import { CreateBranchDto, EditBranchDto } from './dtos/Branch.dto';
import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
@Controller('branches')
@ApiTags('branches')
@ApiTags('Branches')
export class BranchesController {
constructor(private readonly branchesApplication: BranchesApplication) {}

View File

@@ -13,7 +13,7 @@ import { ActivateContactService } from './commands/ActivateContact.service';
import { InactivateContactService } from './commands/InactivateContact.service';
@Controller('contacts')
@ApiTags('contacts')
@ApiTags('Contacts')
export class ContactsController {
constructor(
private readonly getAutoCompleteService: GetAutoCompleteContactsService,

View File

@@ -3,7 +3,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
import { GetCreditNoteAssociatedAppliedInvoices } from './queries/GetCreditNoteAssociatedAppliedInvoices.service';
@Controller('credit-notes')
@ApiTags('credit-notes-apply-invoice')
@ApiTags('Credit Notes Apply Invoice')
export class CreditNotesApplyInvoiceController {
constructor(
private readonly getCreditNoteAssociatedAppliedInvoicesService: GetCreditNoteAssociatedAppliedInvoices,

View File

@@ -21,7 +21,7 @@ import { CurrenciesApplication } from './CurrenciesApplication.service';
import { CreateCurrencyDto } from './dtos/CreateCurrency.dto';
import { EditCurrencyDto } from './dtos/EditCurrency.dto';
@ApiTags('currencies')
@ApiTags('Currencies')
@Controller('/currencies')
export class CurrenciesController {
constructor(private readonly currenciesApp: CurrenciesApplication) {}

View File

@@ -18,7 +18,7 @@ import { CreateCustomerDto } from './dtos/CreateCustomer.dto';
import { EditCustomerDto } from './dtos/EditCustomer.dto';
@Controller('customers')
@ApiTags('customers')
@ApiTags('Customers')
export class CustomersController {
constructor(private customersApplication: CustomersApplication) {}

View File

@@ -2,7 +2,7 @@ import { ApiTags, ApiOperation, ApiResponse } from '@nestjs/swagger';
import { Controller, Get } from '@nestjs/common';
import { DashboardService } from './Dashboard.service';
@ApiTags('dashboard')
@ApiTags('Dashboard')
@Controller('dashboard')
export class DashboardController {
constructor(private readonly dashboardService: DashboardService) {}

View File

@@ -14,7 +14,7 @@ import { ApiOperation, ApiTags } from '@nestjs/swagger';
import { CreateExpenseDto, EditExpenseDto } from './dtos/Expense.dto';
@Controller('expenses')
@ApiTags('expenses')
@ApiTags('Expenses')
export class ExpensesController {
constructor(private readonly expensesApplication: ExpensesApplication) {}

View File

@@ -7,7 +7,7 @@ import { ExportResourceService } from './ExportService';
import { convertAcceptFormatToFormat } from './Export.utils';
@Controller('/export')
@ApiTags('export')
@ApiTags('Export')
export class ExportController {
constructor(private readonly exportResourceApp: ExportResourceService) {}

View File

@@ -7,7 +7,7 @@ import { ApiOperation, ApiTags } from '@nestjs/swagger';
import { APAgingSummaryQueryDto } from './APAgingSummaryQuery.dto';
@Controller('reports/payable-aging-summary')
@ApiTags('reports')
@ApiTags('Reports')
export class APAgingSummaryController {
constructor(private readonly APAgingSummaryApp: APAgingSummaryApplication) {}

View File

@@ -7,7 +7,7 @@ import { Response } from 'express';
import { ApiOperation, ApiTags } from '@nestjs/swagger';
@Controller('reports/receivable-aging-summary')
@ApiTags('reports')
@ApiTags('Reports')
export class ARAgingSummaryController {
constructor(private readonly ARAgingSummaryApp: ARAgingSummaryApplication) {}

View File

@@ -6,7 +6,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
import { BalanceSheetQueryDto } from './BalanceSheet.dto';
@Controller('/reports/balance-sheet')
@ApiTags('reports')
@ApiTags('Reports')
export class BalanceSheetStatementController {
constructor(private readonly balanceSheetApp: BalanceSheetApplication) {}

View File

@@ -6,7 +6,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
import { CashFlowStatementQueryDto } from './CashFlowStatementQuery.dto';
@Controller('reports/cashflow-statement')
@ApiTags('reports')
@ApiTags('Reports')
export class CashflowController {
constructor(private readonly cashflowSheetApp: CashflowSheetApplication) {}

View File

@@ -6,7 +6,7 @@ import { CustomerBalanceSummaryQueryDto } from './CustomerBalanceSummaryQuery.dt
import { AcceptType } from '@/constants/accept-type';
@Controller('/reports/customer-balance-summary')
@ApiTags('reports')
@ApiTags('Reports')
export class CustomerBalanceSummaryController {
constructor(
private readonly customerBalanceSummaryApp: CustomerBalanceSummaryApplication,

View File

@@ -6,7 +6,7 @@ import { AcceptType } from '@/constants/accept-type';
import { GeneralLedgerQueryDto } from './GeneralLedgerQuery.dto';
@Controller('/reports/general-ledger')
@ApiTags('reports')
@ApiTags('Reports')
export class GeneralLedgerController {
constructor(
private readonly generalLedgerApplication: GeneralLedgerApplication,

View File

@@ -6,7 +6,7 @@ import { AcceptType } from '@/constants/accept-type';
import { InventoryItemDetailsQueryDto } from './InventoryItemDetailsQuery.dto';
@Controller('reports/inventory-item-details')
@ApiTags('reports')
@ApiTags('Reports')
export class InventoryItemDetailsController {
constructor(
private readonly inventoryItemDetailsApp: InventoryItemDetailsApplication,

View File

@@ -6,7 +6,7 @@ import { InventoryValuationQueryDto } from './InventoryValuationQuery.dto';
import { AcceptType } from '@/constants/accept-type';
@Controller('reports/inventory-valuation')
@ApiTags('reports')
@ApiTags('Reports')
export class InventoryValuationController {
constructor(
private readonly inventoryValuationApp: InventoryValuationSheetApplication,

View File

@@ -7,7 +7,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
import { JournalSheetQueryDto } from './JournalSheetQuery.dto';
@Controller('/reports/journal')
@ApiTags('reports')
@ApiTags('Reports')
export class JournalSheetController {
constructor(private readonly journalSheetApp: JournalSheetApplication) {}

View File

@@ -6,7 +6,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
import { ProfitLossSheetQueryDto } from './ProfitLossSheetQuery.dto';
@Controller('/reports/profit-loss-sheet')
@ApiTags('reports')
@ApiTags('Reports')
export class ProfitLossSheetController {
constructor(
private readonly profitLossSheetApp: ProfitLossSheetApplication,

View File

@@ -6,7 +6,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
import { PurchasesByItemsQueryDto } from './PurchasesByItemsQuery.dto';
@Controller('/reports/purchases-by-items')
@ApiTags('reports')
@ApiTags('Reports')
export class PurchasesByItemReportController {
constructor(
private readonly purchasesByItemsApp: PurchasesByItemsApplication,

View File

@@ -15,7 +15,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
import { SalesByItemsQueryDto } from './SalesByItemsQuery.dto';
@Controller('/reports/sales-by-items')
@ApiTags('reports')
@ApiTags('Reports')
export class SalesByItemsController {
constructor(private readonly salesByItemsApp: SalesByItemsApplication) {}

View File

@@ -6,7 +6,7 @@ import { AcceptType } from '@/constants/accept-type';
import { SalesTaxLiabilitySummaryApplication } from './SalesTaxLiabilitySummaryApplication';
@Controller('/reports/sales-tax-liability-summary')
@ApiTags('reports')
@ApiTags('Reports')
export class SalesTaxLiabilitySummaryController {
constructor(
private readonly salesTaxLiabilitySummaryApp: SalesTaxLiabilitySummaryApplication,

View File

@@ -7,7 +7,7 @@ import { Response } from 'express';
import { TransactionsByCustomerQueryDto } from './TransactionsByCustomerQuery.dto';
@Controller('/reports/transactions-by-customers')
@ApiTags('reports')
@ApiTags('Reports')
export class TransactionsByCustomerController {
constructor(
private readonly transactionsByCustomersApp: TransactionsByCustomerApplication,

View File

@@ -4,7 +4,7 @@ import { ITransactionsByReferenceQuery } from './TransactionsByReference.types';
import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
@Controller('reports/transactions-by-reference')
@ApiTags('reports')
@ApiTags('Reports')
export class TransactionsByReferenceController {
constructor(
private readonly transactionsByReferenceApp: TransactionsByReferenceApplication,

View File

@@ -7,7 +7,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
import { TransactionsByVendorQueryDto } from './TransactionsByVendorQuery.dto';
@Controller('/reports/transactions-by-vendors')
@ApiTags('reports')
@ApiTags('Reports')
export class TransactionsByVendorController {
constructor(
private readonly transactionsByVendorsApp: TransactionsByVendorApplication,

View File

@@ -7,7 +7,7 @@ import { TrialBalanceSheetApplication } from './TrialBalanceSheetApplication';
import { TrialBalanceSheetQueryDto } from './TrialBalanceSheetQuery.dto';
@Controller('reports/trial-balance-sheet')
@ApiTags('reports')
@ApiTags('Reports')
export class TrialBalanceSheetController {
constructor(
private readonly trialBalanceSheetApp: TrialBalanceSheetApplication,

View File

@@ -7,7 +7,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
import { VendorBalanceSummaryQueryDto } from './VendorBalanceSummaryQuery.dto';
@Controller('/reports/vendor-balance-summary')
@ApiTags('reports')
@ApiTags('Reports')
export class VendorBalanceSummaryController {
constructor(
private readonly vendorBalanceSummaryApp: VendorBalanceSummaryApplication,

View File

@@ -18,7 +18,7 @@ import { uploadImportFileMulterOptions } from './ImportMulter.utils';
import { parseJsonSafe } from '@/utils/parse-json';
@Controller('import')
@ApiTags('import')
@ApiTags('Import')
export class ImportController {
constructor(private readonly importResourceApp: ImportResourceApplication) {}

View File

@@ -1,3 +1,4 @@
import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
import {
Body,
Controller,
@@ -11,12 +12,10 @@ import {
import { InventoryAdjustmentsApplicationService } from './InventoryAdjustmentsApplication.service';
import { IInventoryAdjustmentsFilter } from './types/InventoryAdjustments.types';
import { InventoryAdjustment } from './models/InventoryAdjustment';
import { IPaginationMeta } from '@/interfaces/Model';
import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
import { CreateQuickInventoryAdjustmentDto } from './dtos/CreateQuickInventoryAdjustment.dto';
@Controller('inventory-adjustments')
@ApiTags('inventory-adjustments')
@ApiTags('Inventory Adjustments')
export class InventoryAdjustmentsController {
constructor(
private readonly inventoryAdjustmentsApplicationService: InventoryAdjustmentsApplicationService,

View File

@@ -4,7 +4,7 @@ import { GetInventoyItemsCostQueryDto } from './dtos/GetInventoryItemsCostQuery.
import { ApiOperation, ApiTags } from '@nestjs/swagger';
@Controller('inventory-cost')
@ApiTags('inventory-cost')
@ApiTags('Inventory Cost')
export class InventoryCostController {
constructor(
private readonly inventoryItemCost: GetItemsInventoryValuationListService,

View File

@@ -20,7 +20,7 @@ import {
} from './dtos/ItemCategory.dto';
@Controller('item-categories')
@ApiTags('item-categories')
@ApiTags('Item Categories')
export class ItemCategoryController {
constructor(
private readonly itemCategoryApplication: ItemCategoryApplication,

View File

@@ -18,7 +18,7 @@ import {
import { IManualJournalsFilter } from './types/ManualJournals.types';
@Controller('manual-journals')
@ApiTags('manual-journals')
@ApiTags('Manual Journals')
export class ManualJournalsController {
constructor(private manualJournalsApplication: ManualJournalsApplication) {}

View File

@@ -4,7 +4,7 @@ import { PaymentLinksApplication } from './PaymentLinksApplication';
import { ApiOperation, ApiParam, ApiResponse, ApiTags } from '@nestjs/swagger';
@Controller('payment-links')
@ApiTags('payment-links')
@ApiTags('Payment Links')
export class PaymentLinksController {
constructor(private readonly paymentLinkApp: PaymentLinksApplication) {}
@@ -44,7 +44,8 @@ export class PaymentLinksController {
@Get('/:paymentLinkId/stripe_checkout_session')
@ApiOperation({
summary: 'Create Stripe checkout session',
description: 'Creates a Stripe checkout session for an invoice payment link',
description:
'Creates a Stripe checkout session for an invoice payment link',
})
@ApiParam({
name: 'paymentLinkId',
@@ -83,7 +84,8 @@ export class PaymentLinksController {
@Get('/:paymentLinkId/invoice/pdf')
@ApiOperation({
summary: 'Get payment link invoice PDF',
description: 'Retrieves the PDF of the invoice associated with a payment link',
description:
'Retrieves the PDF of the invoice associated with a payment link',
})
@ApiParam({
name: 'paymentLinkId',
@@ -103,7 +105,10 @@ export class PaymentLinksController {
},
},
})
@ApiResponse({ status: 404, description: 'Payment link or invoice not found' })
@ApiResponse({
status: 404,
description: 'Payment link or invoice not found',
})
public async getPaymentLinkInvoicePdf(
@Param('paymentLinkId') paymentLinkId: string,
@Res() res: Response,

View File

@@ -24,7 +24,7 @@ import {
import { AcceptType } from '@/constants/accept-type';
@Controller('payments-received')
@ApiTags('payments-received')
@ApiTags('Payments Received')
export class PaymentReceivesController {
constructor(private paymentReceivesApplication: PaymentReceivesApplication) {}

View File

@@ -11,7 +11,7 @@ import { ApiTags } from '@nestjs/swagger';
import { PaymentServicesApplication } from './PaymentServicesApplication';
import { EditPaymentMethodDTO } from './types';
@ApiTags('PaymentServices')
@ApiTags('Payment Services')
@Controller('payment-services')
export class PaymentServicesController {
constructor(

View File

@@ -12,7 +12,7 @@ import { PdfTemplateApplication } from './PdfTemplate.application';
import { ICreateInvoicePdfTemplateDTO, IEditPdfTemplateDTO } from './types';
@Controller('pdf-templates')
@ApiTags('pdf-templates')
@ApiTags('Pdf Templates')
export class PdfTemplatesController {
constructor(
private readonly pdfTemplateApplication: PdfTemplateApplication,

View File

@@ -27,7 +27,7 @@ import { AcceptType } from '@/constants/accept-type';
import { Response } from 'express';
@Controller('sale-estimates')
@ApiTags('sale-estimates')
@ApiTags('Sale Estimates')
export class SaleEstimatesController {
/**
* @param {SaleEstimatesApplication} saleEstimatesApplication - Sale estimates application.

View File

@@ -35,7 +35,7 @@ import {
import { AcceptType } from '@/constants/accept-type';
@Controller('sale-invoices')
@ApiTags('sale-invoices')
@ApiTags('Sale Invoices')
@ApiHeader({
name: 'organization-id',
description: 'The organization id',

View File

@@ -23,7 +23,7 @@ import { AcceptType } from '@/constants/accept-type';
import { Response } from 'express';
@Controller('sale-receipts')
@ApiTags('sale-receipts')
@ApiTags('Sale Receipts')
export class SaleReceiptsController {
constructor(private saleReceiptApplication: SaleReceiptApplication) {}

View File

@@ -1,22 +1,22 @@
import { Body, Controller, Get, Post, Put } from '@nestjs/common';
import { ApiOperation, ApiTags } from '@nestjs/swagger';
import { Body, Controller, Get, Put } from '@nestjs/common';
import { SettingsApplicationService } from './SettingsApplication.service';
import { ISettingsDTO } from './Settings.types';
import { ApiOperation, ApiTags } from '@nestjs/swagger';
@Controller('settings')
@ApiTags('settings')
@ApiTags('Settings')
export class SettingsController {
constructor(
private readonly settingsApplicationService: SettingsApplicationService,
) {}
@Put('')
@Put()
@ApiOperation({ summary: 'Save the given settings.' })
async saveSettings(@Body() settingsDTO: ISettingsDTO) {
return this.settingsApplicationService.saveSettings(settingsDTO);
}
@Get('')
@Get()
@ApiOperation({ summary: 'Retrieves the settings.' })
async getSettings() {
return this.settingsApplicationService.getSettings();

View File

@@ -13,7 +13,7 @@ import { ApiOperation, ApiTags, ApiResponse, ApiBody } from '@nestjs/swagger';
import { SubscriptionApplication } from './SubscriptionApplication';
@Controller('subscription')
@ApiTags('subscriptions')
@ApiTags('Subscriptions')
export class SubscriptionsController {
constructor(private readonly subscriptionApp: SubscriptionApplication) {}

View File

@@ -1,7 +1,9 @@
import { Controller, Post, Req } from '@nestjs/common';
import { LemonSqueezyWebhooks } from './webhooks/LemonSqueezyWebhooks';
import { ApiTags } from '@nestjs/swagger';
@Controller('/webhooks/lemon')
@ApiTags('Subscriptions')
export class SubscriptionsLemonWebhook {
constructor(private readonly lemonWebhooksService: LemonSqueezyWebhooks) {}

View File

@@ -12,7 +12,7 @@ import { ApiOperation, ApiTags } from '@nestjs/swagger';
import { CreateTaxRateDto, EditTaxRateDto } from './dtos/TaxRate.dto';
@Controller('tax-rates')
@ApiTags('tax-rates')
@ApiTags('Tax Rates')
export class TaxRatesController {
constructor(private readonly taxRatesApplication: TaxRatesApplication) {}

View File

@@ -13,7 +13,7 @@ import { UsersApplication } from './Users.application';
import { EditUserDto } from './dtos/EditUser.dto';
@Controller('users')
@ApiTags('users')
@ApiTags('Users')
export class UsersController {
constructor(private readonly usersApplication: UsersApplication) {}

View File

@@ -4,7 +4,7 @@ import { UsersApplication } from './Users.application';
import { InviteUserDto, SendInviteUserDto } from './dtos/InviteUser.dto';
@Controller('invite')
@ApiTags('users')
@ApiTags('Users')
export class UsersInviteController {
constructor(private readonly usersApplication: UsersApplication) {}

View File

@@ -17,7 +17,7 @@ import {
} from './dtos/VendorCredit.dto';
@Controller('vendor-credits')
@ApiTags('vendor-credits')
@ApiTags('Vendor Credits')
export class VendorCreditsController {
constructor(
private readonly vendorCreditsApplication: VendorCreditsApplicationService,

View File

@@ -4,7 +4,7 @@ import { IVendorCreditApplyToInvoicesDTO } from './types/VendorCreditApplyBills.
import { ApiTags } from '@nestjs/swagger';
@Controller('vendor-credits')
@ApiTags('vendor-credits-apply-bills')
@ApiTags('Vendor Credits Apply Bills')
export class VendorCreditApplyBillsController {
constructor(
private readonly vendorCreditApplyBillsApplication: VendorCreditApplyBillsApplicationService,

View File

@@ -5,7 +5,7 @@ import { ApiOperation, ApiTags } from '@nestjs/swagger';
import { RefundVendorCreditDto } from './dtos/RefundVendorCredit.dto';
@Controller('vendor-credits')
@ApiTags('vendor-credits-refunds')
@ApiTags('Vendor Credits Refunds')
export class VendorCreditsRefundController {
constructor(
private readonly vendorCreditsRefundApplication: VendorCreditsRefundApplication,

View File

@@ -3,7 +3,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
import { GetResourceViewsService } from './GetResourceViews.service';
@Controller('views')
@ApiTags('views')
@ApiTags('Views')
export class ViewsController {
constructor(
private readonly getResourceViewsService: GetResourceViewsService,

View File

@@ -12,7 +12,7 @@ import { ApiOperation, ApiTags } from '@nestjs/swagger';
import { CreateWarehouseDto, EditWarehouseDto } from './dtos/Warehouse.dto';
@Controller('warehouses')
@ApiTags('warehouses')
@ApiTags('Warehouses')
export class WarehousesController {
constructor(private warehousesApplication: WarehousesApplication) {}

View File

@@ -18,7 +18,7 @@ import {
import { GetWarehouseTransfersQueryDto } from '../Warehouses/dtos/GetWarehouseTransfersQuery.dto';
@Controller('warehouse-transfers')
@ApiTags('warehouse-transfers')
@ApiTags('Warehouse Transfers')
export class WarehouseTransfersController {
/**
* @param {WarehouseTransferApplication} warehouseTransferApplication - Warehouse transfer application.