swagger-api / swagger-api/swagger-codegen
Set RetryPolicy in Android Volley library
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
I have a problem that my swagger generated code is executing the requests twice sometimes. I think this is due to the RetryPolicy of the volley library.
Now I want to set the RetryPolicy of my swagger generated code with out changing the ApiInvoker-Class everytime after regeneration of the code. Is any possibility to accomplish that?
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 the generated Android client and its ApiInvoker-Class, then review how Volley requests receive their RetryPolicy. Check the linked Stack Overflow discussion for the reported duplicate-request behavior and determine whether a regeneration-safe configuration entry point is described; done means users can set the policy without editing ApiInvoker-Class after regeneration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- api, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100