Forum Discussion

gvchaitra's avatar
gvchaitra
Occasional Visitor
2 years ago

oneOf not working

Hi Team,

 

We are trying to implement a scenario in swagger where one of the enums should have a value based on the country. Hence tried using oneOf keyword and used two different schemas based on the country. But it doesnt seem to be working. Can anyone please help on this?

No RepliesBe the first to reply