Issue
in a Spring Boot REST API Project I came across a Route which was somewhat like this:
@DeleteMapping("api/{variable:.+}")
What does the .+ stand for?
Solution
It stands for: one or more characters.
See https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html for reference.
Answered By - crizzis
Answer Checked By - Marilyn (JavaFixing Volunteer)