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

POST /ledger/voucher incorrect result code

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
openapi
Domain
api

Research direction

Start by locating the POST /ledger/voucher entry point and comparing its returned HTTP status with the Swagger definition, then review the other POST methods mentioned for the same discrepancy. Done means the endpoint's result code matches the documented 200 response and the generated C# client can be created correctly.

Written by the indexing model from the issue text.

Description

Http code 201 returned by the API does not match the swagger definition which is 200.
This prevents nswag from creating a correct C# client.
I've checked a few other POST methods and swagger definition says they all return 200 which is non-compliant.

Dominant language
No language data
Stars
49
Forks
47
Avg merge
31m
Merged PRs (30d)
2

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 Tripletex/tripletex-api2

All issues in Tripletex/tripletex-api2

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.