File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed
service/src/tickets/ticket Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -23,36 +23,6 @@ export class TicketController extends AbstractController {
2323 }
2424
2525 @Post ( )
26- @ApiOkResponse ( {
27- description : 'Search tickets with pagination' ,
28- schema : {
29- allOf : [
30- {
31- properties : {
32- data : {
33- type : 'array' ,
34- items : { $ref : getSchemaPath ( TicketDto ) } ,
35- } ,
36- } ,
37- } ,
38- ] ,
39- } ,
40- } )
41- @ApiBadRequestResponse ( {
42- description : 'Search tickets with pagination' ,
43- schema : {
44- allOf : [
45- {
46- properties : {
47- data : {
48- type : 'array' ,
49- items : { $ref : getSchemaPath ( TicketDto ) } ,
50- } ,
51- } ,
52- } ,
53- ] ,
54- } ,
55- } )
5626 public async create ( @Req ( ) req : Request , @Res ( ) res : Response , @Body ( ) body : TicketCreateDto ) {
5727 const data = await this . _service . create ( body )
5828 return res . status ( HttpStatus . CREATED ) . json ( {
You can’t perform that action at this time.
0 commit comments