We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e814532 commit c8c0ce4Copy full SHA for c8c0ce4
codegen/core/src/main/java/software/amazon/smithy/python/codegen/PythonSymbolProvider.java
@@ -283,7 +283,8 @@ public Symbol operationShape(OperationShape shape) {
283
284
// We add a symbol for the method in the client as a property, whereas the actual
285
// operation symbol points to the generated type for it
286
- return createGeneratedSymbolBuilder(shape, getDefaultShapeName(shape), SHAPES_FILE)
+ var name = CaseUtils.toSnakeCase(getDefaultShapeName(shape)).toUpperCase(Locale.ENGLISH);
287
+ return createGeneratedSymbolBuilder(shape, name, SHAPES_FILE)
288
.putProperty(SymbolProperties.OPERATION_METHOD, methodSymbol)
289
.build();
290
}
0 commit comments