diff --git a/docs-web/src/main/java/com/sismics/docs/rest/resource/RouteModelResource.java b/docs-web/src/main/java/com/sismics/docs/rest/resource/RouteModelResource.java index cfeff8a4..4fea590b 100644 --- a/docs-web/src/main/java/com/sismics/docs/rest/resource/RouteModelResource.java +++ b/docs-web/src/main/java/com/sismics/docs/rest/resource/RouteModelResource.java @@ -34,7 +34,7 @@ public class RouteModelResource extends BaseResource { * * @api {get} /routemodel Get route models * @apiName GetRouteModel - * @apiRouteModel RouteModel + * @apiGroup RouteModel * @apiParam {Number} sort_column Column index to sort on * @apiParam {Boolean} asc If true, sort in ascending order * @apiSuccess {Object[]} routemodels List of route models @@ -77,7 +77,7 @@ public class RouteModelResource extends BaseResource { * * @api {put} /routemodel Add a route model * @apiName PutRouteModel - * @apiRouteModel RouteModel + * @apiGroup RouteModel * @apiParam {String} name Route model name * @apiParam {String} steps Steps data in JSON * @apiSuccess {String} id Route model ID @@ -177,7 +177,7 @@ public class RouteModelResource extends BaseResource { * * @api {post} /routemodel/:id Update a route model * @apiName PostRouteModel - * @apiRouteModel RouteModel + * @apiGroup RouteModel * @apiParam {String} name Route model name * @apiParam {String} steps Steps data in JSON * @apiSuccess {String} status Status OK @@ -226,7 +226,7 @@ public class RouteModelResource extends BaseResource { * * @api {delete} /routemodel/:id Delete a route model * @apiName DeleteRouteModel - * @apiRouteModel RouteModel + * @apiGroup RouteModel * @apiParam {String} id Route model ID * @apiSuccess {String} status Status OK * @apiError (client) ForbiddenError Access denied @@ -265,7 +265,7 @@ public class RouteModelResource extends BaseResource { * * @api {get} /routemodel/:id Get a route model * @apiName GetRouteModel - * @apiRouteModel RouteModel + * @apiGroup RouteModel * @apiParam {String} id Route model ID * @apiSuccess {String} id Route model ID * @apiSuccess {String} name Route model name diff --git a/docs-web/src/main/java/com/sismics/docs/rest/resource/RouteResource.java b/docs-web/src/main/java/com/sismics/docs/rest/resource/RouteResource.java index 7ab10c7d..cfc9f53c 100644 --- a/docs-web/src/main/java/com/sismics/docs/rest/resource/RouteResource.java +++ b/docs-web/src/main/java/com/sismics/docs/rest/resource/RouteResource.java @@ -38,7 +38,7 @@ public class RouteResource extends BaseResource { * * @api {post} /route/start Start a route on a document * @apiName PostRouteStart - * @apiRouteModel Route + * @apiGroup Route * @apiParam {String} routeModelId Route model ID * @apiParam {String} documentId Document ID * @apiSuccess {String} status Status OK @@ -126,7 +126,7 @@ public class RouteResource extends BaseResource { * * @api {post} /route/validate Validate the current step of a route * @apiName PostRouteValidate - * @apiRouteModel Route + * @apiGroup Route * @apiParam {String} documentId Document ID * @apiParam {String} transition Route step transition * @apiParam {String} comment Route step comment @@ -196,7 +196,7 @@ public class RouteResource extends BaseResource { * @api {get} /route Get the routes on a document * @apiName GetRoutes * @apiGroup Route - * @apiParam {String} id Document ID + * @apiParam {String} documentId Document ID * @apiSuccess {Object[]} routes List of routes * @apiSuccess {String} routes.name Name * @apiSuccess {Number} routes.create_date Create date (timestamp) @@ -261,7 +261,7 @@ public class RouteResource extends BaseResource { * * @api {delete} /route Cancel a route * @apiName DeleteRoute - * @apiRouteModel Route + * @apiGroup Route * @apiParam {String} documentId Document ID * @apiSuccess {String} status Status OK * @apiError (client) ForbiddenError Access denied diff --git a/docs-web/src/main/webapp/src/locale/en.json b/docs-web/src/main/webapp/src/locale/en.json index c3ed2502..1d2e487b 100644 --- a/docs-web/src/main/webapp/src/locale/en.json +++ b/docs-web/src/main/webapp/src/locale/en.json @@ -415,7 +415,8 @@ "Group": "Group", "Tag": "Tag", "User": "User", - "RouteModel": "Workflow" + "RouteModel": "Workflow model", + "Route": "Workflow" }, "selectrelation": { "typeahead": "Type a document title" diff --git a/docs-web/src/main/webapp/src/locale/fr.json b/docs-web/src/main/webapp/src/locale/fr.json index f2504ba3..91be90cb 100644 --- a/docs-web/src/main/webapp/src/locale/fr.json +++ b/docs-web/src/main/webapp/src/locale/fr.json @@ -415,7 +415,8 @@ "Group": "Groupe", "Tag": "Tag", "User": "Utilisateur", - "RouteModel": "Workflow" + "RouteModel": "Modèle de workflow", + "Route": "Workflow" }, "selectrelation": { "typeahead": "Entrez un titre de document"