diff --git a/idea-plugin/src/main/kotlin/com/itangcent/idea/plugin/api/export/SpringRequestClassExporter.kt b/idea-plugin/src/main/kotlin/com/itangcent/idea/plugin/api/export/SpringRequestClassExporter.kt index 308ee5acf..1f1e7a439 100644 --- a/idea-plugin/src/main/kotlin/com/itangcent/idea/plugin/api/export/SpringRequestClassExporter.kt +++ b/idea-plugin/src/main/kotlin/com/itangcent/idea/plugin/api/export/SpringRequestClassExporter.kt @@ -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.* @@ -200,6 +197,7 @@ open class SpringRequestClassExporter : AbstractRequestClassExporter() { } override fun processCompleted(method: ExplicitMethod, kv: KV, request: Request) { + super.processCompleted(method, kv, request) val requestMapping: Pair, String>? = kv.getAs("requestMapping") requestMapping?.let { resolveParamInRequestMapping(request, it)