Skip to content

Commit 1df181c

Browse files
committed
Update comment to reflect current class name
1 parent b4bd4bb commit 1df181c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

restdocs-api-spec/src/main/kotlin/com/epages/restdocs/apispec/ResourceSnippetParameters.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ class HeaderDescriptorWithType(val name: String) : AbstractDescriptor<HeaderDesc
115115
}
116116

117117
/**
118-
* We are extending AbstractDescriptor instead of HeaderDescriptor because otherwise methods like description() and ignored()
119-
* would return HeaderDescriptor instead of HeaderDescriptorWithType
118+
* We are transitively extending AbstractDescriptor instead of ParameterDescriptor because otherwise methods like
119+
* description() and ignored() would return ParameterDescriptor instead of ParameterDescriptorWithType.
120120
*/
121121
class ParameterDescriptorWithType(val name: String) : IgnorableDescriptor<ParameterDescriptorWithType>() {
122122

0 commit comments

Comments
 (0)