Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mechanism to pass down custom Java annotations to code generated off EMF Ecore #27

Open
ideas-into-software opened this issue Jan 22, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ideas-into-software
Copy link

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

Screenshot from 2024-01-17 16-26-54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants