Skip to content

Commit

Permalink
Fixed issue reported by detekt.
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesoliveira committed Jul 5, 2024
1 parent 1df38d9 commit 18bd43c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,12 @@ internal class APIStructureRetriever(private val opsImplList: List<PluggableRest
private fun Method.createResponseBody(responseDescription: String, successCode: Int): ResponseBody {
val isReturnTypeNullable = this.kotlinFunction?.returnType?.isMarkedNullable ?: false
return ResponseBody(
responseDescription,
successCode,
this.toClassAndParameterizedTypes().first,
this.toClassAndParameterizedTypes().second,
isReturnTypeNullable
)
responseDescription,
successCode,
this.toClassAndParameterizedTypes().first,
this.toClassAndParameterizedTypes().second,
isReturnTypeNullable
)
}

private fun Method.toPUTEndpoint(annotation: HttpPUT): Endpoint {
Expand Down

0 comments on commit 18bd43c

Please sign in to comment.