Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: delete resource templates #826

Merged
merged 22 commits into from
Jan 14, 2025
Merged

Conversation

llorentelemmc
Copy link
Contributor

@llorentelemmc llorentelemmc commented Jan 13, 2025

Based on list-templates branch, which should be merged first.

@llorentelemmc llorentelemmc changed the title feature: delete templates feature: delete resource templates Jan 13, 2025
@DELETE
@Path("/{id : \\d+}")
@ApiOperation(value = "Remove a template")
public Response deleteTemplate(@PathParam("id") Integer id) throws TemplateNotDeletableException {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create a mapper for a more meaningful error message for TemplateNotDeletableException and add it to RESTApplication.

@llorentelemmc llorentelemmc merged commit 290d496 into development Jan 14, 2025
1 check passed
@llorentelemmc llorentelemmc self-assigned this Jan 22, 2025
@llorentelemmc llorentelemmc deleted the delete-templates branch January 23, 2025 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants