Replies: 2 comments 3 replies
-
@ksg97031
Since the |
Beta Was this translation helpful? Give feedback.
-
We recently talked about this topic face-to-face. |
Beta Was this translation helpful? Give feedback.
-
@ksg97031
Since the |
Beta Was this translation helpful? Give feedback.
-
We recently talked about this topic face-to-face. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
When it comes to Java Spring's
@RequestMapping
, it supports multiple HTTP methods by default.As a result, when I define an endpoint like
@RequestMapping("hello")
, it appears as five different endpoints:This raises a concern about the increased amount of duplicated output.
Are there any better ways to display these
@RequestMapping
endpoints to avoid redundancy? For example, displaying them in a single line ("GET", "POST", "DELETE", "PUT", "PATCH") or using a different notation?Thanks for your insights!
Beta Was this translation helpful? Give feedback.
All reactions