Skip to content

Commit cbe008e

Browse files
committed
misc: better Kdocs on
1 parent 9f277e6 commit cbe008e

File tree

1 file changed

+2
-1
lines changed
  • codegen/smithy-kotlin-codegen-testutils/src/main/kotlin/software/amazon/smithy/kotlin/codegen/test

1 file changed

+2
-1
lines changed

codegen/smithy-kotlin-codegen-testutils/src/main/kotlin/software/amazon/smithy/kotlin/codegen/test/CodegenTestUtils.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ fun TestContext.responseMembers(shape: Shape, location: HttpBinding.Location = H
124124
}
125125

126126
/**
127-
* Attempts to retrieve the request document members for HttpTrait-enabled protocols for operations, otherwise the shape members
127+
* If the shape represents an operation, it attempts to retrieve the request document members for protocols enabled with HttpTrait.
128+
* Otherwise, it retrieves the shape's members.
128129
* */
129130
fun TestContext.shapeMembers(shape: Shape, location: HttpBinding.Location = HttpBinding.Location.DOCUMENT): List<MemberShape> =
130131
when (shape) {

0 commit comments

Comments
 (0)