Return category on /transactions #33
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
techdebt
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
personal-finance/datastore!33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/26-get-transaction-category"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue #26
The accepted practice is to retain the collection name even for a single resource operation, like getting a specific transaction. Also moves the PUT /transactions to /transactions/{id} which makes it clearer that it can only be applied to an already created transaction.through the PUT /transactions/{transactionId} method. Restrict the PUT to changing only the category. The other existing attributes should remain immutable. Remove the body of the PUT response, it isn't required, and it was returning a 204, which shouldn't have it. This patch also extracts the CategoryName as a separate component on the OpenAPI spec, so that it can be reused on the Transaction. Issues #26 and #2392aa51c664to467afae68fThe PR will be squashed into the previous one.
Pull request closed