From c5b753abe5ad364b79031717f8e0d3de063384ba Mon Sep 17 00:00:00 2001 From: ReaJason Date: Sat, 19 Jul 2025 20:56:35 +0800 Subject: [PATCH] fix: SpringWebMVC Agent generate button not work --- web/src/types/schema.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/types/schema.ts b/web/src/types/schema.ts index 63e095f7..ec5455b8 100644 --- a/web/src/types/schema.ts +++ b/web/src/types/schema.ts @@ -34,6 +34,9 @@ interface ValidationResult { } const urlPatternIsNeeded = (shellType: string) => { + if (shellType.startsWith("Agent")) { + return false; + } return ( shellType.endsWith("Servlet") || shellType.endsWith("ControllerHandler") ||