There are supported vendor extensions to extend the generated spring-boot code with additional annotations like "org.springframework.data.neo4j.core.schema.Relationship", "org.springframework.data.neo4j.core.schema.Node", etc.
We could use these extensions to make the top-api models compatible with spring-data-neo4j. This would enable us to store the objects natively in neo4j without complex and computationally intensive mappings.
Some more examples for annotations we might need for our model classes:
There are supported vendor extensions to extend the generated spring-boot code with additional annotations like "org.springframework.data.neo4j.core.schema.Relationship", "org.springframework.data.neo4j.core.schema.Node", etc.
We could use these extensions to make the top-api models compatible with spring-data-neo4j. This would enable us to store the objects natively in neo4j without complex and computationally intensive mappings.
Some more examples for annotations we might need for our model classes:
We can add these annotations to the schemas/top-api.yml file with
x-field-extra-annotation
andx-class-extra-annotation
properties.Problems
Versions are not part of the top-api. Thus, it must be evaluated how they can be incorporated.