OpenAPITools / OpenAPITools/openapi-generator
[BUG] Generation of test cases are failing for spring .
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
We are using openapi-generator maven plugin to generate source code stubs for controllers and delegate methods, which are working fine, but the test cases are not getting generated. for version 5.2.1 . We are doing this for spring generator
A similar bug was created 2 years ago (#3318) , but not sure in which version this was released.
As per comment from [https://github.com/Zomzog] , this should have been fixed, but seems the commit was on forked repo and never merged into the actual repo.
Can you please let us know if this can be released in future releases.
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 the failure with the openapi-generator Maven plugin at version 5.2.1 using the Spring generator, then inspect the generator path responsible for test-case output. Done means generated controller and delegate stubs are accompanied by the expected test cases, with regression coverage for this Maven-plugin scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, openapi, spring
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100