Forum Discussion

CunningFox's avatar
New Member
12 months ago

$ref doesnt work with x-field-extra-annotation


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

So, I have described SomeClass POJO upper. Now, want to create new POJO class where SomeClass will be a field. But, I want to restrict that field by @NotNull annotation.Screen with no null anntation - expected result. Second one actual result. I tried add nullable, I tried add x-field-extra-annotation: '" nothing gonna work





No RepliesBe the first to reply