Forum Discussion

Firdavs's avatar
New Member
2 years ago

OAS 3.0.1 trying to make $ref nullable


I have a field of object type


  $ref: '#/components/schemas/MoneyDto'

And I want it to accept also null value.

In kotlin it should look like so:

var payerFeeSum: MoneyDto?

Can some one help me with this?

Thx in advance!





No RepliesBe the first to reply