File

src/fileagg/fileagg.controller.ts

Prefix

/fileagg

Index

Methods

Methods

calculateFileAggV1
calculateFileAggV1(body: any)
Decorators :
@Post()
@ApiResponse({description: 'returns fileagg list of cnpjs'})
Parameters :
Name Type Optional
body any No
Returns : any
import { Body, Controller } from '@nestjs/common';
import { ApiBearerAuth, ApiResponse, ApiTags } from '@nestjs/swagger';
import { FileAggService } from './fileagg.service';
import { Post } from '@nestjs/common/decorators';

@ApiTags('FileAgg')
@ApiBearerAuth('token')
@Controller('/fileagg')
export class FileAggController {
  constructor(private readonly fileAggService: FileAggService) {}

  @Post()
  @ApiResponse({
    description: 'returns fileagg list of cnpjs',
  })
  calculateFileAggV1(@Body() body: any) {
    return this.fileAggService.checkFileAgg(body);
  }
}

results matching ""

    No results matching ""