Skip to content

Commit a34647b

Browse files
committed
Fix annotation issues: 1 missing @consumes, 1 duplicate id
1 parent 2423045 commit a34647b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dotCMS/src/main/java/com/dotcms/rest/api/v1/contenttype/ContentTypeResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ public Response getType(
11361136
@NoCache
11371137
@Produces({MediaType.APPLICATION_JSON, "application/javascript"})
11381138
@Operation(
1139-
operationId = "getContentTypeIdVar",
1139+
operationId = "getContentTypeRenderedCustomFieldIdVar",
11401140
summary = "Retrieves a single content type with their rendered custom fields",
11411141
description = "Returns a content type based on the provided ID or Velocity variable " +
11421142
"name. Additionally, the Velocity code in all of its custom fields will be parsed.",

dotCMS/src/main/java/com/dotcms/rest/api/v1/workflow/WorkflowResource.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5588,7 +5588,8 @@ public final ResponseContentletWorkflowStatusView getStatusForContentlet(@Contex
55885588
@Path("/tasks")
55895589
@JSONP
55905590
@NoCache
5591-
@Produces({MediaType.APPLICATION_JSON, "application/javascript"})
5591+
@Consumes(MediaType.APPLICATION_JSON)
5592+
@Produces({MediaType.APPLICATION_JSON})
55925593
@Operation(operationId = "getWorkflowTasks", summary = "Find workflow tasks based on filter parameters",
55935594
description = "Retrieve the [workflow tasks](https://dev.dotcms.com/docs/workflow-tasks) that match the parameters included in the request body.",
55945595
tags = {"Workflow"},

0 commit comments

Comments
 (0)