OAS 3.0.1 trying to make $ref nullable
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2023
02:01 AM
04-13-2023
02:01 AM
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
