This is an automated email from the ASF dual-hosted git repository.

thiagohp pushed a commit to branch rest
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git


The following commit(s) were added to refs/heads/rest by this push:
     new a24388b  TAP5-2696: fixing JavaDoc and JSON content type
a24388b is described below

commit a24388b5b0440d87ee6a734bfbdb2b890a26d2b5
Author: Thiago H. de Paula Figueiredo <[email protected]>
AuthorDate: Thu Dec 2 16:09:33 2021 -0300

    TAP5-2696: fixing JavaDoc and JSON content type
---
 .../src/main/java/org/apache/tapestry5/services/HttpStatus.java     | 2 +-
 .../org/apache/tapestry5/services/rest/OpenApiTypeDescriber.java    | 6 +++---
 .../apache/tapestry5/rest/jackson/modules/RestJacksonModule.java    | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/tapestry-core/src/main/java/org/apache/tapestry5/services/HttpStatus.java 
b/tapestry-core/src/main/java/org/apache/tapestry5/services/HttpStatus.java
index 1d8210b..30eb2ee 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/services/HttpStatus.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/services/HttpStatus.java
@@ -140,7 +140,7 @@ public final class HttpStatus
     
     /**
      * Creates an instance with status code <code>301 Moved Permanently</code>.
-     * @param location the value of the <code>Location</code> header.
+     * @param link the value of the <code>Location</code> header.
      */
     public static HttpStatus movedPermanently(Link link)
     {
diff --git 
a/tapestry-core/src/main/java/org/apache/tapestry5/services/rest/OpenApiTypeDescriber.java
 
b/tapestry-core/src/main/java/org/apache/tapestry5/services/rest/OpenApiTypeDescriber.java
index 01d4d88..326568d 100644
--- 
a/tapestry-core/src/main/java/org/apache/tapestry5/services/rest/OpenApiTypeDescriber.java
+++ 
b/tapestry-core/src/main/java/org/apache/tapestry5/services/rest/OpenApiTypeDescriber.java
@@ -33,15 +33,15 @@ public interface OpenApiTypeDescriber
 
     /**
      * Describes a REST event handler method parameter.
-     * @param descriptiona {@link JSONObject} containing the description of an 
event handler parameter.
+     * @param description {@link JSONObject} containing the description of an 
event handler parameter.
      * @param parameter the event handler method parameter.
      */
     void describe(final JSONObject description, Parameter parameter);
     
     /**
      * Describes a REST event handler method return type.
-     * @param descriptiona {@link JSONObject} containing the description of a 
path response.
-     * @param parameter the event handler method itself.
+     * @param description {@link JSONObject} containing the description of a 
path response.
+     * @param method the event handler method itself.
      */
     void describeReturnType(final JSONObject description, Method method);
 
diff --git 
a/tapestry-rest-jackson/src/main/java/org/apache/tapestry5/rest/jackson/modules/RestJacksonModule.java
 
b/tapestry-rest-jackson/src/main/java/org/apache/tapestry5/rest/jackson/modules/RestJacksonModule.java
index b70f3c2..14152a4 100644
--- 
a/tapestry-rest-jackson/src/main/java/org/apache/tapestry5/rest/jackson/modules/RestJacksonModule.java
+++ 
b/tapestry-rest-jackson/src/main/java/org/apache/tapestry5/rest/jackson/modules/RestJacksonModule.java
@@ -119,7 +119,7 @@ public class RestJacksonModule
     }
     
     /**
-     * Contributes {@link JacksonOpenApiType} to the {@link 
OpenApiTypeDescriber} service
+     * Contributes {@link JacksonOpenApiTypeDescriber} to the {@link 
OpenApiTypeDescriber} service
      * to generate J.
      */
     public static void 
contributeOpenApiTypeDescriber(OrderedConfiguration<OpenApiTypeDescriber> 
configuration)

Reply via email to