OpenAPITools / OpenAPITools/openapi-generator
commons-lang3
Open
Nobody has claimed this yet.
Issue: Bug
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Bug Report Checklist
- Have you provided a full/minimal spec to reproduce the issue?
- Have you validated the input using an OpenAPI validator?
- Have you tested with the latest master to confirm the issue still exists?
- Have you searched for related issues/PRs?
- What's the actual output vs expected output?
- [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
when generating code with "python-pydantic-v1"
class org.apache.commons.lang3.Strings
tried to access method
'boolean org.apache.commons.lang3.CharSequenceUtils.regionMatches(java.lang.CharSequence, boolean, int, java.lang.CharSequence, int, int)' (org.apache.commons.lang3.Strings is in unnamed module of loader org.gradle.internal.classloader.VisitableURLClassLoader$InstrumentingVisitableURLClassLoader @5024e352; org.apache.commons.lang3.CharSequenceUtils
is in unnamed module of loader
org.gradle.internal.classloader.VisitableURLClassLoader$InstrumentingVisitableURLClassLoader @3d8c2292)
ERROR
openapi-generator version
affected version 7.19.0 , 7.18.0 , and 7.17.0
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 reproducing generation with the python-pydantic-v1 generator on OpenAPI Generator 7.19.0, then inspect how the generator loads commons-lang3 and the failing String/CharSequenceUtils call. Compare behavior with 7.18.0 and 7.17.0; done means the reported access error no longer occurs during generation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, openapi, python
- Domain
- api, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100