You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/HttpBindingProtocolGenerator.java
+14-6Lines changed: 14 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -517,6 +517,7 @@ public void generateResponseDeserializers(GenerationContext context) {
Copy file name to clipboardExpand all lines: smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/HttpProtocolGeneratorUtils.java
+23-24Lines changed: 23 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -298,51 +298,49 @@ public static void writeRetryableTrait(TypeScriptWriter writer, StructureShape e
298
298
299
299
/**
300
300
* Writes a function used to dispatch to the proper error deserializer
301
-
* for each error that the operation can return. The generated function
301
+
* for each error that any operation can return. The generated function
302
302
* assumes a deserialization function is generated for the structures
303
303
* returned.
304
304
*
305
305
* @param context The generation context.
306
-
* @param operation The operation to generate for.
307
306
* @param responseType The response type for the HTTP protocol.
308
307
* @param errorCodeGenerator A consumer
309
308
* @param shouldParseErrorBody Flag indicating whether need to parse response body in this dispatcher function
310
309
* @param bodyErrorLocationModifier A function that returns the location of an error in a body given a data source.
311
310
* @param operationErrorsToShapes A map of error names to their {@link ShapeId}.
312
311
* @return A set of all error structure shapes for the operation that were dispatched to.
Copy file name to clipboardExpand all lines: smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/HttpRpcProtocolGenerator.java
+13-7Lines changed: 13 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -224,6 +224,18 @@ public void generateResponseDeserializers(GenerationContext context) {
224
224
for (OperationShapeoperation : containedOperations) {
Copy file name to clipboardExpand all lines: smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/ProtocolGenerator.java
0 commit comments