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:
@@ -16,9 +16,11 @@ import { ApiTags, ApiOperation, ApiResponse } from '@nestjs/swagger';
|
||||
import { ImportResourceApplication } from './ImportResourceApplication';
|
||||
import { uploadImportFileMulterOptions } from './ImportMulter.utils';
|
||||
import { parseJsonSafe } from '@/utils/parse-json';
|
||||
import { ApiCommonHeaders } from '@/common/decorators/ApiCommonHeaders';
|
||||
|
||||
@Controller('import')
|
||||
@ApiTags('Import')
|
||||
@ApiCommonHeaders()
|
||||
export class ImportController {
|
||||
constructor(private readonly importResourceApp: ImportResourceApplication) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user