Forum Discussion

Firdavs's avatar
Firdavs
New Member
11 months ago

OAS 3.0.1 trying to make $ref nullable

Hi!

I have a field of object type

payerFeeSum: 

  $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