The original issue is from here: https://github.com/smallrye/smallrye-open-api/issues/785
Here is a short summary of the two cases, where types from an EAR are not correctly resolved.
Types contained jpa.jar and used in the rest.war are not shown in the OpenApi defintion of the rest.war.|
Types contained common.jar and used in the rest.war are not shown in the OpenApi defintion of the rest.war.|
I'll provide a PR soon.