Skip to content

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

@ideas-into-software

Description

@ideas-into-software

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions