implmentação swagger no modulo orders-payment

This commit is contained in:
JurTI-BR
2025-04-02 18:13:47 -03:00
parent 28a1cee876
commit 4719279ab7
36 changed files with 944 additions and 820 deletions

View File

@@ -0,0 +1,17 @@
import { ApiProperty } from '@nestjs/swagger';
export class CreateInvoiceDto {
@ApiProperty({
description: 'ID do pedido',
example: 12345,
required: true,
})
orderId: number;
@ApiProperty({
description: 'ID do usuário',
example: '001',
required: true,
})
userId: number;
}