geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <>
Subject [jira] [Commented] (GERONIMO-6695) OpenAPI - Schemas are not working properly with a few issues
Date Wed, 20 Feb 2019 17:48:00 GMT


Romain Manni-Bucau commented on GERONIMO-6695:

It is the enhancement, a general rule is to never expose jpa entities but always dto. We can
make it work ignoring openjpa types but as mentonned openapi does not intend to impl a mapper
as jsonb for instance so maybe just define your schema and reference it on methods?

Will try to check your example more in details in some hours

> OpenAPI - Schemas are not working properly with a few issues
> ------------------------------------------------------------
>                 Key: GERONIMO-6695
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: Ivan Junckes Filho
>            Assignee: Romain Manni-Bucau
>            Priority: Major
>         Attachments: image-2019-02-19-11-05-49-553.png, image-2019-02-19-11-07-02-967.png,
> 1 - Name of classes are not user friendly
> 2 - Internal system properties are showing up in the schema like factory, superclass,
typeParams... etc
> !image-2019-02-19-11-05-49-553.png!
> 3 - A lot of system classes are showing up as schemas and openapi should have only webapp
classes in the document. This even breaks swagger ui because it makes it super slow.
> !image-2019-02-19-11-07-02-967.png!
> The previous images come from swagger-ui.

This message was sent by Atlassian JIRA

View raw message