Additional client Preconditions
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start with the generated AccountApi.java example linked in the issue, then inspect the Swagger schema and the generator responsible for client preconditions. Define how required body properties should be represented and propagated so generated clients validate those properties rather than only the body itself.
Written by the indexing model from the issue text.
Description
Prior client code generation, we could hardcode a bunch of preconditions to avoid making illegal calls to server. With auto-generated code, the Preconditions are generated based on required swagger annotation.
The main issue is for body type that we pass. The precondition will limit itself to checking for non null body
It would be very handy to specify which properties from the body are required -- obviously this would have to be specified in the swagger schema and the generator would have to be modified to take this into account.
- Dominant language
- Mustache
- Stars
- 0
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from killbill/killbill-swagger-coden
-
enhancement JAVA
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
enhancement JAVA
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
enhancement JAVA
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
enhancement JAVA
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
cleanup JAVA
Difficulty 4/5 3-5 days Newbie friendliness 35/100
killbill/killbill-swagger-coden#3 · 1 comment ·
All issues in killbill/killbill-swagger-coden
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ash-project/spark#303 ·
-
ocr_data_to_elements() raises AttributeError when a layout element is a ListPossibly taken @Eapp1e claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Unstructured-IO/unstructured#4616 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
longbridge/gpui-kit#3712 ·
Maintainers usually reply within 1 day