Ask a Question

OAS 3.0.1 trying to make $ref nullable

Firdavs
New Member

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!

 

 

 

 

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: