No delete endpoint for cards #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
The generated openapi spec do not provide a delete endpoint for cards. Instead there is some GET endpoint
/cards/delete. Through the specs it is not clear what this endpoint is doing, or what arguments it needs.Please provide a DELETE endpoint
/cards/{card_id}, consider removing the other one if there is no special need for it.To be able to identify which card should be deleted/deactivated we need some form of identifier within the model. Adding a field "Name" of type string should be sufficient.
This value must be provided during creation within the body of the post request.