We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have multiple projects at my job where we have the following example configuration in our pom.xml (maven projects)
xml <plugin> <groupId>io.swagger.codegen.v3</groupId> <artifactId>swagger-codegen-maven-plugin</artifactId> <version>${swagger-codegen-maven-plugin.version}</version> <executions> <execution> <id>swagger-code-gen-rest-internal</id> <phase>generate-sources</phase> <goals> <goal>generate</goal> </goals> <configuration> <inputSpec>${openapi.rest-api.example-service}</inputSpec> <language>spring</language> <generateModels>true</generateModels> <generateModelTests>false</generateModelTests> <generateApis>false</generateApis> <generateSupportingFiles>false</generateSupportingFiles> <configOptions> <jakarta>true</jakarta> <java8>true</java8> <dateLibrary>java8</dateLibrary> <library>spring-boot</library> <hideGenerationTimestamp>true</hideGenerationTimestamp> <interfaceOnly>true</interfaceOnly> <useBeanValidation>true</useBeanValidation> <hateoas>true</hateoas> <useTags>true</useTags> <throwsException>true</throwsException> <modelPackage>some.example.service.rest.model</modelPackage> <serializableModel>true</serializableModel> </configOptions> </configuration> </execution> </executions> </plugin> In intellij all generated classes are found, in nvim with jdtls I get The import xxx can't be resolved. Anyone knows how to fix this?
xml <plugin> <groupId>io.swagger.codegen.v3</groupId> <artifactId>swagger-codegen-maven-plugin</artifactId> <version>${swagger-codegen-maven-plugin.version}</version> <executions> <execution> <id>swagger-code-gen-rest-internal</id> <phase>generate-sources</phase> <goals> <goal>generate</goal> </goals> <configuration> <inputSpec>${openapi.rest-api.example-service}</inputSpec> <language>spring</language> <generateModels>true</generateModels> <generateModelTests>false</generateModelTests> <generateApis>false</generateApis> <generateSupportingFiles>false</generateSupportingFiles> <configOptions> <jakarta>true</jakarta> <java8>true</java8> <dateLibrary>java8</dateLibrary> <library>spring-boot</library> <hideGenerationTimestamp>true</hideGenerationTimestamp> <interfaceOnly>true</interfaceOnly> <useBeanValidation>true</useBeanValidation> <hateoas>true</hateoas> <useTags>true</useTags> <throwsException>true</throwsException> <modelPackage>some.example.service.rest.model</modelPackage> <serializableModel>true</serializableModel> </configOptions> </configuration> </execution> </executions> </plugin>
1.44
I dont have a public project to reproduce atm
Generated classes are found.
Generated classes are not found
The text was updated successfully, but these errors were encountered:
No branches or pull requests
LSP client configuration
I have multiple projects at my job where we have the following example configuration in our pom.xml (maven projects)
xml <plugin> <groupId>io.swagger.codegen.v3</groupId> <artifactId>swagger-codegen-maven-plugin</artifactId> <version>${swagger-codegen-maven-plugin.version}</version> <executions> <execution> <id>swagger-code-gen-rest-internal</id> <phase>generate-sources</phase> <goals> <goal>generate</goal> </goals> <configuration> <inputSpec>${openapi.rest-api.example-service}</inputSpec> <language>spring</language> <generateModels>true</generateModels> <generateModelTests>false</generateModelTests> <generateApis>false</generateApis> <generateSupportingFiles>false</generateSupportingFiles> <configOptions> <jakarta>true</jakarta> <java8>true</java8> <dateLibrary>java8</dateLibrary> <library>spring-boot</library> <hideGenerationTimestamp>true</hideGenerationTimestamp> <interfaceOnly>true</interfaceOnly> <useBeanValidation>true</useBeanValidation> <hateoas>true</hateoas> <useTags>true</useTags> <throwsException>true</throwsException> <modelPackage>some.example.service.rest.model</modelPackage> <serializableModel>true</serializableModel> </configOptions> </configuration> </execution> </executions> </plugin>
In intellij all generated classes are found, in nvim with jdtls I get The import xxx can't be resolved.
Anyone knows how to fix this?
Eclipse.jdt.ls version
1.44
Steps to Reproduce
I dont have a public project to reproduce atm
Expected Result
Generated classes are found.
Actual Result
Generated classes are not found
The text was updated successfully, but these errors were encountered: