wildcard for fallback endpoint is not working in @get() #6947
Unanswered
chennavamshikrishna
asked this question in
Q&A
Replies: 2 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
-
+1 `@Controller("/api/mock")
}` and that would match |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Expected Behavior
I created a get endpoint with * as value in a controller.I want to this endpoint to called as a fallback if none of endpoint in a controller matches
Actual Behaviour
when I tried to endpoint with value not present in controller fallback endpoint is not getting triggered instead i am getting 404
Steps To Reproduce
@get(value=“*”)
public string getValue(){
return “apple”;
}
Environment Information
ubuntu java version 11
Example Application
No response
Version
3.3
Beta Was this translation helpful? Give feedback.
All reactions