You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2019/02/19 15:05:00 UTC

[jira] [Commented] (GERONIMO-6695) OpenAPI - Schemas are not working properly with a few issues

    [ https://issues.apache.org/jira/browse/GERONIMO-6695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16771999#comment-16771999 ] 

Romain Manni-Bucau commented on GERONIMO-6695:
----------------------------------------------

Hi [~ivanjunckes], it looks like you have a Class in your model which is not supported by openapi, you can set @Schema(hidden=true) on it.

> OpenAPI - Schemas are not working properly with a few issues
> ------------------------------------------------------------
>
>                 Key: GERONIMO-6695
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6695
>             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
(v7.6.3#76005)