OpenAPITools / OpenAPITools/openapi-generator
[JAVA] [jaxrs-spec] add custom method to add/remove elements from Java Collections
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Description
Generate methods to add & remove elements from Java Collections
openapi-generator version
v4.3.1
Command line used for generation
/bin/jaxrs-spec-petstore-server.sh
Steps to reproduce
- Execute - ./bin/jaxrs-spec-petstore-server.sh
- Generated code doesn't include methods to remove or add elements to Java Collections.
Related issues/PRs
Suggest a fix/enhancement
Make changes to JavaJaxRS/spec pojo.mustache to generate add/remove methods.
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 with JavaJaxRS/spec/pojo.mustache and run bin/jaxrs-spec-petstore-server.sh to inspect the generated server code. Done means the generated Java Collection properties include methods to add and remove elements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100