diff --git a/Documentation/UserManual/Foxx.md b/Documentation/UserManual/Foxx.md index c4f2de7557..ef77eeabde 100644 --- a/Documentation/UserManual/Foxx.md +++ b/Documentation/UserManual/Foxx.md @@ -92,22 +92,22 @@ If you define a route like described above, you have the option to match parts o Furthermore you can describe your API by chaining the following methods onto your path definition. With the provided information, Foxx will generate a nice documentation for you. Some of the methods additionally will check certain properties of the request. #### Describing a pathParam -/// @fn JSF_foxx_RequestContext_pathParam +@copydetails JSF_foxx_RequestContext_pathParam #### Describing a queryParam -/// @fn JSF_foxx_RequestContext_queryParam +@copydetails JSF_foxx_RequestContext_queryParam ### Documenting the nickname of a route -/// @fn JSF_foxx_RequestContext_nickname +@copydetails JSF_foxx_RequestContext_nickname ### Documenting the summary of a route -/// @fn JSF_foxx_RequestContext_summary +@copydetails JSF_foxx_RequestContext_summary ### Documenting the notes of a route -/// @fn JSF_foxx_RequestContext_notes +@copydetails JSF_foxx_RequestContext_notes ### Documenting the error response of a route -/// @fn JSF_foxx_RequestContext_errorResponse +@copydetails JSF_foxx_RequestContext_errorResponse ### Before and After Hooks diff --git a/js/server/modules/org/arangodb/foxx.js b/js/server/modules/org/arangodb/foxx.js index bf1de3dba0..33987cdbb8 100644 --- a/js/server/modules/org/arangodb/foxx.js +++ b/js/server/modules/org/arangodb/foxx.js @@ -431,7 +431,7 @@ _.extend(RequestContext.prototype, { /// /// You can also provide a description of this parameter. /// -/// @EXAMPLE: +/// @EXAMPLES /// app.get("/foxx/:id", function { /// // Do something /// }).pathParam("id", { @@ -472,7 +472,7 @@ _.extend(RequestContext.prototype, { /// You can also provide a description of this parameter, if it is required and /// if you can provide the parameter multiple times. /// -/// @EXAMPLE: +/// @EXAMPLES /// app.get("/foxx", function { /// // Do something /// }).queryParam("id", {