mhosan
2 years agoNew Member
Nestjs/swagger how to write nested properties with arrays?
How to write a Class with this? :
movements:
type: array
items:
type: object
properties:
merchant_name:
description: Merchant's name
type: string
example: MERSARQRT Mi&CO
merchant_code:
type: string
example: MER003
amount:
example: 100.01
type: number
format: double