https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-jaxrs2/src/main/java/io/swagger/v3/jaxrs2/SecurityParser.java
The public method getSecurityScheme returns an optional with a package private class. Either the method should be package private, or the class it returns should be public.
Thanks!