Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Additional client Preconditions

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
api, tooling

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

enhancement JAVA

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from killbill/killbill-swagger-coden

All issues in killbill/killbill-swagger-coden

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.