Tripletex / Tripletex/tripletex-api2
POST /ledger/voucher incorrect result code
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 49
- Forks
- 47
- Avg merge
- 1h 1m
- Merged PRs (30d)
- 1
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.
Contributor guide
No contributing guide indexed for this repository
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 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.
Assessment
- Tech stack
- openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100