Tripletex / Tripletex/tripletex-api2

Wrong HTTP response code in swagger.json

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

Nobody has claimed this yet.

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

Description

The response code for POST /ledger/voucher is stated to be 200, but actually returns 201 (in test environment, at least).

This leads to generated clients implementations throws on successful requests. (using BccCode.Tripletex.Client / NSwag.Net)

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Open swagger.json and find the POST /ledger/voucher response definition. Verify the documented success status against the issue's stated 201 response, update the incorrect status, and confirm that the endpoint no longer declares 200 for this successful request.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.