You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/mapping/parameter.adoc
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -100,3 +100,25 @@ the processor will use `java.time.ZonedDateTime` as java type for **all** parame
100
100
**all** endpoints that have a "date" parameter.
101
101
102
102
In the example both endpoints would use `java.time.ZonedDateTime` as java type for the "date" parameter.
103
+
104
+
== additional parameter
105
+
106
+
It is possible to add additional parameters that is not described in the OpenAPI. For example `HttpServletRequest` which may be needed to get something from the request that is not described in the api.
107
+
108
+
While it is possible to add it at the global level, it is best used at the endpoint level.
0 commit comments