Skip to content

Commit 57b8400

Browse files
Fix docs
1 parent faf4da2 commit 57b8400

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/HttpBindingProtocolGenerator.java

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ public ApplicationProtocol getApplicationProtocol() {
125125
/**
126126
* Generates serialization functions for shapes in the passed set. These functions
127127
* should return a value that can then be serialized by the implementation of
128-
* {@code serializeDocument}. The {@link DocumentShapeSerVisitor} and {@link DocumentMemberSerVisitor}
129-
* are provided to reduce the effort of this implementation.
128+
* {@link HttpBindingProtocolGenerator#serializeInputDocumentBody}. The {@link DocumentShapeSerVisitor} and
129+
* {@link DocumentMemberSerVisitor} are provided to reduce the effort of this implementation.
130130
*
131131
* @param context The generation context.
132132
* @param shapes The shapes to generate serialization for.
@@ -136,7 +136,7 @@ public ApplicationProtocol getApplicationProtocol() {
136136
/**
137137
* Generates deserialization functions for shapes in the passed set. These functions
138138
* should return a value that can then be deserialized by the implementation of
139-
* {@code deserializeDocument}. The {@link DocumentShapeDeserVisitor} and
139+
* {@link HttpBindingProtocolGenerator#deserializeInputDocumentBody}. The {@link DocumentShapeDeserVisitor} and
140140
* {@link DocumentMemberDeserVisitor} are provided to reduce the effort of this implementation.
141141
*
142142
* @param context The generation context.
@@ -1345,10 +1345,10 @@ protected void serializeInputPayload(
13451345
}
13461346

13471347
/**
1348-
* Writes the code needed to serialize the output payload of a request.
1348+
* Writes the code needed to serialize the output payload of a response.
13491349
*
13501350
* <p>Implementations of this method are expected to set a value to the
1351-
* {@code body} variable that will be serialized as the request body.
1351+
* {@code body} variable that will be serialized as the response body.
13521352
* This variable will already be defined in scope.
13531353
*
13541354
* <p>For example:
@@ -1371,10 +1371,10 @@ protected void serializeOutputPayload(
13711371
}
13721372

13731373
/**
1374-
* Writes the code needed to serialize the error payload of a request.
1374+
* Writes the code needed to serialize the error payload of a response.
13751375
*
13761376
* <p>Implementations of this method are expected to set a value to the
1377-
* {@code body} variable that will be serialized as the request body.
1377+
* {@code body} variable that will be serialized as the response body.
13781378
* This variable will already be defined in scope.
13791379
*
13801380
* <p>For example:
@@ -2073,7 +2073,6 @@ private HttpBinding readPayload(
20732073
* bound member name of the {@code contents} variable after deserializing
20742074
* the response body. This variable will already be defined in scope.
20752075
*
2076-
*
20772076
* @param context The generation context.
20782077
* @param operation The operation whose input payload is being deserialized.
20792078
* @param binding The payload binding to deserialize.
@@ -2088,13 +2087,12 @@ protected HttpBinding deserializeInputPayload(
20882087
}
20892088

20902089
/**
2091-
* Writes the code needed to deserialize the output payload of a request.
2090+
* Writes the code needed to deserialize the output payload of a response.
20922091
*
20932092
* <p>Implementations of this method are expected to set a value to the
20942093
* bound member name of the {@code contents} variable after deserializing
20952094
* the response body. This variable will already be defined in scope.
20962095
*
2097-
*
20982096
* @param context The generation context.
20992097
* @param operation The operation whose output payload is being deserialized.
21002098
* @param binding The payload binding to deserialize.
@@ -2109,13 +2107,12 @@ protected HttpBinding deserializeOutputPayload(
21092107
}
21102108

21112109
/**
2112-
* Writes the code needed to deserialize the input payload of a request.
2110+
* Writes the code needed to deserialize the error payload of a response.
21132111
*
21142112
* <p>Implementations of this method are expected to set a value to the
21152113
* bound member name of the {@code contents} variable after deserializing
21162114
* the response body. This variable will already be defined in scope.
21172115
*
2118-
*
21192116
* @param context The generation context.
21202117
* @param error The error whose payload is being deserialized.
21212118
* @param binding The payload binding to deserialize.

0 commit comments

Comments
 (0)