From e6a7ecda3ef6b568926d0d1bb7bacf92019fc006 Mon Sep 17 00:00:00 2001 From: soberich <25544967+soberich@users.noreply.github.com> Date: Sat, 24 Aug 2019 15:48:46 +0200 Subject: [PATCH] Support more system method params. Fixes #981 Added `javax.servlet.http.HttpServletResponse`, `javax.servlet.http.HttpServletRequest`. See https://docs.spring.io/spring-framework/docs/3.2.x/spring-framework-reference/html/mvc.html\#mvc-ann-arguments --- .../modules/spring_web/model/RequestParameterFactory.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-web/src/main/java/com/webcohesion/enunciate/modules/spring_web/model/RequestParameterFactory.java b/spring-web/src/main/java/com/webcohesion/enunciate/modules/spring_web/model/RequestParameterFactory.java index 2e77405fb..bc9cad567 100644 --- a/spring-web/src/main/java/com/webcohesion/enunciate/modules/spring_web/model/RequestParameterFactory.java +++ b/spring-web/src/main/java/com/webcohesion/enunciate/modules/spring_web/model/RequestParameterFactory.java @@ -43,6 +43,7 @@ public class RequestParameterFactory { //list of valid request mapping argument types that are supplied by the system, and not by the user. //see http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html#mvc-ann-arguments "javax.servlet.ServletContext", "javax.servlet.ServletRequest", "javax.servlet.ServletResponse", "javax.servlet.http.HttpSession", + "javax.servlet.http.HttpServletResponse", "javax.servlet.http.HttpServletRequest", "org.springframework.web.context.request.WebRequest", "java.util.Locale", "java.util.TimeZone", "java.time.ZoneId", "java.io.Writer", "java.io.OutputStream", "org.springframework.http.HttpMethod", "java.security.Principal", "org.springframework.ui.Model", "org.springframework.ui.ModelMap", "java.util.Map", "org.springframework.web.servlet.mvc.support.RedirectAttributes",