Skip to content

Commit

Permalink
Merge remote-tracking branch 'easy-api/master' into merge-easy-api
Browse files Browse the repository at this point in the history
  • Loading branch information
tangcent committed Mar 23, 2020
2 parents 9edc7cb + 7594ec5 commit 35d2406
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ import com.intellij.psi.PsiElement
import com.intellij.psi.PsiMethod
import com.intellij.psi.PsiParameter
import com.itangcent.common.constant.HttpMethod
import com.itangcent.common.utils.firstOrNull
import com.itangcent.common.utils.notNullOrEmpty
import com.itangcent.common.utils.stream
import com.itangcent.common.model.Header
import com.itangcent.common.model.Request
import com.itangcent.common.utils.*
Expand Down Expand Up @@ -200,6 +197,7 @@ open class SpringRequestClassExporter : AbstractRequestClassExporter() {
}

override fun processCompleted(method: ExplicitMethod, kv: KV<String, Any?>, request: Request) {
super.processCompleted(method, kv, request)
val requestMapping: Pair<Map<String, Any?>, String>? = kv.getAs("requestMapping")
requestMapping?.let {
resolveParamInRequestMapping(request, it)
Expand Down

0 comments on commit 35d2406

Please sign in to comment.