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

[FEATURE]: Use externally provided class #2616

Open
Azbesciak opened this issue Jun 11, 2024 · 0 comments
Open

[FEATURE]: Use externally provided class #2616

Azbesciak opened this issue Jun 11, 2024 · 0 comments

Comments

@Azbesciak
Copy link

I would like to use a class implementation provided in the schema, not providing a mirror of it, but just reusing the one already in the dependencies.

One example is geojson schema, where I have my geometries classes already in dependencies and I want to avoid duplicating them, and then mapping to my classes. Or maybe it is already possible?

Context (Input, Language)

Input Format:
json schema

Output Language:
java, but would benefit for all

Description

  • avoid unnecessary mapping
  • reusability of classes

Current Behaviour / Output

Maybe it is possible but right now I need to map one by one created classes to my desired ones

Proposed Behaviour / Output

There would be some "magic" property in schema which indicates the class. Or maybe in the renderer properties, to address $ref, somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant