Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 0dc55e6

Browse files
committed
added response for get thread
1 parent 21e7ab4 commit 0dc55e6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cortex-js/src/infrastructure/controllers/models.controller.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ import { ModelSettingParamsDto } from '../dtos/models/model-setting-params.dto';
3131
export class ModelsController {
3232
constructor(private readonly modelsUsecases: ModelsUsecases) {}
3333

34+
@HttpCode(201)
35+
@ApiResponse({
36+
status: 201,
37+
description: 'The model has been successfully created.',
38+
type: StartModelSuccessDto,
39+
})
3440
@ApiOperation({ summary: 'Create model', description: "Creates a model `.json` instance file manually." })
3541
@Post()
3642
create(@Body() createModelDto: CreateModelDto) {

0 commit comments

Comments
 (0)