Skip to content

Commit

Permalink
swagger-doc-workflow-resource-part-1 (#29191)
Browse files Browse the repository at this point in the history
### Proposed Changes
* First half of Workflow Resource has received Swagger annotations.

### Checklist
- [ ] Tests

Co-authored-by: Nollymar Longa <[email protected]>
  • Loading branch information
jdcmsd and nollymar authored Jul 26, 2024
1 parent 2c23184 commit ad9fe28
Show file tree
Hide file tree
Showing 10 changed files with 639 additions and 49 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.dotcms.rest.api.v1.workflow;

import com.dotcms.rest.ResponseEntityView;

public class ResponseEntityBulkActionView extends ResponseEntityView<BulkActionView> {
public ResponseEntityBulkActionView(BulkActionView entity) {
super(entity);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.dotcms.rest.api.v1.workflow;

import com.dotcms.rest.ResponseEntityView;

public class ResponseEntityBulkActionsResultView extends ResponseEntityView<BulkActionsResultView> {
public ResponseEntityBulkActionsResultView(BulkActionsResultView entity) {
super(entity);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package com.dotcms.rest.api.v1.workflow;

import com.dotcms.rest.ResponseEntityView;
import com.dotmarketing.portlets.workflows.model.SystemActionWorkflowActionMapping;

public class ResponseEntitySystemActionWorkflowActionMapping extends ResponseEntityView<SystemActionWorkflowActionMapping> {
public ResponseEntitySystemActionWorkflowActionMapping(SystemActionWorkflowActionMapping entity) {
super(entity);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.dotcms.rest.api.v1.workflow;

import com.dotcms.rest.ResponseEntityView;
import com.dotmarketing.portlets.workflows.model.WorkflowActionClass;

import java.util.List;

public class ResponseEntityWorkflowActionClassesView extends ResponseEntityView<List<WorkflowActionClass>> {
public ResponseEntityWorkflowActionClassesView(List<WorkflowActionClass> actionClasses) {
super(actionClasses);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.dotcms.rest.api.v1.workflow;

import com.dotcms.rest.ResponseEntityView;

public class ResponseEntityWorkflowActionView extends ResponseEntityView<WorkflowActionView> {
public ResponseEntityWorkflowActionView(WorkflowActionView entity) {
super(entity);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.dotcms.rest.api.v1.workflow;

import com.dotcms.rest.ResponseEntityView;
import com.dotmarketing.portlets.workflows.actionlet.WorkFlowActionlet;

import java.util.List;

public class ResponseEntityWorkflowActionletsView extends ResponseEntityView<List<WorkFlowActionlet>> {
public ResponseEntityWorkflowActionletsView(List<WorkFlowActionlet> actionlets) {
super(actionlets);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.dotcms.rest.api.v1.workflow;

import com.dotcms.rest.ResponseEntityView;

import java.util.List;

public class ResponseEntityWorkflowActionsView extends ResponseEntityView<List<WorkflowActionView>> {
public ResponseEntityWorkflowActionsView(List<WorkflowActionView> entity) {
super(entity);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.dotcms.rest.api.v1.workflow;

import com.dotcms.rest.ResponseEntityView;
import com.dotmarketing.portlets.workflows.model.WorkflowScheme;

import java.util.List;

public class ResponseEntityWorkflowSchemesView extends ResponseEntityView<List<WorkflowScheme>> {
public ResponseEntityWorkflowSchemesView(List<WorkflowScheme> schemes) {
super(schemes);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.dotcms.rest.api.v1.workflow;

import com.dotcms.rest.ResponseEntityView;
import com.dotmarketing.portlets.workflows.model.WorkflowStep;

import java.util.List;

public class ResponseEntityWorkflowStepsView extends ResponseEntityView<List<WorkflowStep>> {
public ResponseEntityWorkflowStepsView(List<WorkflowStep> steps) {
super(steps);
}
}

Large diffs are not rendered by default.

0 comments on commit ad9fe28

Please sign in to comment.