You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do realize Swagger Annotations can be used in such cases to specify those sub-types and add discriminator and discriminator-mapping, but our model code is generated off EMF Ecore, therefore we cannot include any custom annotations as these would get overwritten on each build; see eclipse-emf/org.eclipse.emf#27 for more details.
The text was updated successfully, but these errors were encountered:
Currently, to the best of my knowledge, there is no configuration option in ‘Swagger Gradle Plugin’ (https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-gradle-plugin/README.md), which allows to specify additional (unreachable) models to include. E.g. in models based on the ‘GeoJSON’ standard (https://geojson.org/), Swagger has no access to
Geometry
sub-types such asPoint
,LineString
,Polygon
, etc.I do realize Swagger Annotations can be used in such cases to specify those sub-types and add discriminator and discriminator-mapping, but our model code is generated off EMF Ecore, therefore we cannot include any custom annotations as these would get overwritten on each build; see eclipse-emf/org.eclipse.emf#27 for more details.
The text was updated successfully, but these errors were encountered: