import { Body, Post, Route } from '@tsoa/runtime'; import { ModelService } from '../services/modelService'; import { TestModel } from '../testModel'; @Route('PostTest') export class InvalidPostTestController { @Post('WithMultipleBody') public async postWithMultipleBodyParams(@Body() firstParam: TestModel, @Body() secondParam: TestModel): Promise { return new ModelService().getModel(); } }