I have a controller like below having circular reference in class B.
This is happening because Swashbuckle\'s jsonserilalizer\'s setting is set to Refer
Refer