2 comments (2 comments)0 reactions (0 reactions)0 assignees (0 assignees)HTML12,701 stars (12,701 stars)5,474 forks (5,474 forks)batch import
Issue: BugServer: Javahelp wanted
- Issue type
- bug
- Research direction
- The issue points to two files: the mustache template at modules/swagger codegen/src/main/resources/JavaJaxRS/jersey1 18/StringUtil.mustache which sets the package to 'apiPackage', and the Java code at modules/swagger codegen/src/main/java/io/swagger/codegen/languages/JavaJerseyServerCodegen.java line 89 which defines the invokerPackage. The bug is that StringUtil.java is generated using apiPackage instead of invokerPackage. To fix, update the mustache template to use invokerPackage or verify the intended package setting in the codegen logic.