@Override
        public Void operationShape(OperationShape shape) {
            serializeTraits(shape);
            codeWriter.writeInline("operation $L ", shape.getId().getName());
            writeMixins(shape);
            codeWriter.openBlock("{");
            List<MemberShape> mixinMembers = new ArrayList<>();
            mixinMembers.addAll(writeInlineableProperty("input", shape.getInputShape(), InputTrait.ID));
            mixinMembers.addAll(writeInlineableProperty("output", shape.getOutputShape(), OutputTrait.ID));
            codeWriter.writeOptionalIdList("errors", shape.getIntroducedErrors());
            codeWriter.closeBlock("}");
            codeWriter.write("");
            applyIntroducedTraits(mixinMembers);
            return null;
        }
Serializes shapes in the IDL format.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/SmithyIdlModelSerializer.java