Creating Java DTO / POJO from (Spring Data Rest) HAL Json Schema

while I am evaluating Spring Data Rest again, I see Spring Data Rest exposing Json Schema. I can view entity profiles and see the associated json schema.

Well, from a client / consumer (Java) perspective, now I would like to automatically create POJOs from this Json schema (as in the XML-Schema / SOAP method).

Is it possible? Did I miss something?

I would prefer to add some Maven plugin that points to the URL of an open schema and allows you to create the necessary Java POJOs.

I know jsonschema2pojo, but it only works with filesystem database schema files.

+4
source share

Source: https://habr.com/ru/post/1665214/


All Articles