OpenAPITools / OpenAPITools/openapi-generator
[REQ] [Java] Support RestAssuredMockMvc
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Is your feature request related to a problem? Please describe.
It is not related to a problem, but to a need. I would like the use of the rest-assured library with the java generator to also generate a class that implements the Oper class and that has a method similar to execute that could use RestAssuredMockMvc, this would end up helping a lot in creating better abstractions in tests.
Describe the solution you'd like
As said above, it would be another class very similar to the current generated classes that implement the Oper class, but with a difference. These classes would be test-specific, and their execute methods would use RestAssuredMockMvc instead of RestAssured.
Describe alternatives you've considered
Any implementation similar to the one that exists today but using RestAssuredMockMvc would serve me well.
Additional context
Unfortunately I am unable to create a prototype for review, but I believe this request would be a great addition to the project.
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 Java generator's current generated classes that implement Oper and their execute methods, then compare how they use RestAssured. Define the test-specific class behavior around RestAssuredMockMvc and confirm that the generated output supports the requested testing abstraction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100