mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
feat: add header swagger docs
This commit is contained in:
@@ -17,10 +17,12 @@ import {
|
||||
} from '@nestjs/swagger';
|
||||
import { CreateWarehouseDto, EditWarehouseDto } from './dtos/Warehouse.dto';
|
||||
import { WarehouseResponseDto } from './dtos/WarehouseResponse.dto';
|
||||
import { ApiCommonHeaders } from '@/common/decorators/ApiCommonHeaders';
|
||||
|
||||
@Controller('warehouses')
|
||||
@ApiTags('Warehouses')
|
||||
@ApiExtraModels(WarehouseResponseDto)
|
||||
@ApiCommonHeaders()
|
||||
export class WarehousesController {
|
||||
constructor(private warehousesApplication: WarehousesApplication) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user