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
Currently, there is no mechanism to pass down custom ( non-EMF ) Java annotations to code generated off EMF Ecore.
Usage of such code generated off EMF model prevents utilization of e.g. Swagger Annotations to generate OpenAPI specification dynamically.
Especially in the case of EMF model based on the ‘GeoJSON’ standard, lack of such feature in EMF itself makes it impossible for Swagger generator to even find Geometry sub-types (e.g. Point, Polygon, LineString, etc.) and serialization / deserialization to work properly, as Swagger requires so called discriminator and discriminator mapping in models utilizing class inheritance.
You'll note that some are very old. Unfortunately, I have no plan to develop something like this in my non-existent spare time, which is why the old wish list remains very long:
Currently, there is no mechanism to pass down custom ( non-EMF ) Java annotations to code generated off EMF Ecore.
Usage of such code generated off EMF model prevents utilization of e.g. Swagger Annotations to generate OpenAPI specification dynamically.
Especially in the case of EMF model based on the ‘GeoJSON’ standard, lack of such feature in EMF itself makes it impossible for Swagger generator to even find
Geometry
sub-types (e.g.Point
,Polygon
,LineString
, etc.) and serialization / deserialization to work properly, as Swagger requires so called discriminator and discriminator mapping in models utilizing class inheritance.More info
“Swagger”
“OpenAPI Generator”: https://openapi-generator.tech/
“GeoJSON”: https://geojson.org/
The text was updated successfully, but these errors were encountered: