Skip to content

Commit

Permalink
doc: api example fields
Browse files Browse the repository at this point in the history
  • Loading branch information
okjodom committed Dec 1, 2024
1 parent 178ca73 commit 4700217
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/common/src/dto/swap.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class CreateOnrampSwapDto implements OnrampSwapRequest {
@IsOptional()
@ValidateNested()
@Type(() => QuoteDto)
@ApiProperty({ type: QuoteDto })
@ApiProperty({ type: QuoteDto, example: null })
quote: QuoteDto;

@IsNotEmpty()
Expand All @@ -92,7 +92,7 @@ export class CreateOnrampSwapDto implements OnrampSwapRequest {
@IsString()
@Validate(IsStringifiedNumberConstraint)
@Type(() => String)
@ApiProperty()
@ApiProperty({ example: "2" })
amountFiat: string;

@IsNotEmpty()
Expand Down

0 comments on commit 4700217

Please sign in to comment.