Skip to content

Commit

Permalink
add requestheader annotation for springcloud rest controller #64
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Pelkmann committed Oct 11, 2022
1 parent b3457ae commit c0cdb00
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ internal class ParameterHandler : AspectHandlerI {
"java.PathVariable" to listOf(MethodDeclaration::class.java),
"java.RequestBody" to listOf(MethodDeclaration::class.java),
"java.RequestParam" to listOf(MethodDeclaration::class.java),
"java.RequestHeader" to listOf(MethodDeclaration::class.java),
"java.Valid" to listOf(MethodDeclaration::class.java),

"Spring.ResponseStatus" to listOf(ClassOrInterfaceDeclaration::class.java),
"Spring.PathVariable" to listOf(MethodDeclaration::class.java),
"Spring.RequestBody" to listOf(MethodDeclaration::class.java),
"Spring.RequestParam" to listOf(MethodDeclaration::class.java),
"Spring.RequestHeader" to listOf(MethodDeclaration::class.java),
"Spring.Valid" to listOf(MethodDeclaration::class.java)
)

Expand Down

0 comments on commit c0cdb00

Please sign in to comment.