OpenAPITools / OpenAPITools/openapi-generator
generated spring-cloud code lack of spring.factories and spring-boot-configuration-processor
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
this module uses spring ConfigurationProperties
but without spring.factories file and spring-boot-configuration-processor dependency, IDE(I use intellij idea) could not recognize properties defined in configuration class
so application-.properties/application-.yml will report properties not defined warning
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Spring Cloud generator templates and the generated module dependency configuration. Check how generated Spring ConfigurationProperties classes are wired and whether spring.factories and spring-boot-configuration-processor are included. Done means IntelliJ no longer warns that application properties are undefined for the generated module.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring, spring-boot
- Domain
- backend, build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100