mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
feat: add header swagger docs
This commit is contained in:
@@ -17,10 +17,12 @@ import {
|
||||
getSchemaPath,
|
||||
} from '@nestjs/swagger';
|
||||
import { BranchResponseDto } from './dtos/BranchResponse.dto';
|
||||
import { ApiCommonHeaders } from '@/common/decorators/ApiCommonHeaders';
|
||||
|
||||
@Controller('branches')
|
||||
@ApiTags('Branches')
|
||||
@ApiExtraModels(BranchResponseDto)
|
||||
@ApiCommonHeaders()
|
||||
export class BranchesController {
|
||||
constructor(private readonly branchesApplication: BranchesApplication) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user