Commit f038982b authored by Andy Wilkinson's avatar Andy Wilkinson

Merge pull request #6437 from Johnny Lim

* gh-6437:
  Align message with regex for AbstractMvcEndpoint.path
parents a1797879 68fe8a58
...@@ -42,7 +42,7 @@ public abstract class AbstractMvcEndpoint extends WebMvcConfigurerAdapter ...@@ -42,7 +42,7 @@ public abstract class AbstractMvcEndpoint extends WebMvcConfigurerAdapter
* Endpoint URL path. * Endpoint URL path.
*/ */
@NotNull @NotNull
@Pattern(regexp = "/.*|^$", message = "Path must start with /") @Pattern(regexp = "/.*|^$", message = "Path must start with / or be empty")
private String path; private String path;
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment