Closed RobertoSngular closed 2 months ago
Hi,
This way you are removing the areaType from Circle, which is inherited from Area. The API input is an Area, not a Circle. Even if currently can only be a Circle, there may be other areaType values in the future. The reference to Circle in Area as part of the mapping in the discriminator allows to use a value for the property (CIRCLE) different from the schema name.
Agree with @jlurien and you can check other API like RegionUserCount to see other area.
Nothing needed to be changed
The schema Area refence Circle and Circle reference Area properties
Circle probably doenst need Area properties
I fixed it like this: