diff --git a/src/main/asciidoc/mediatypes.adoc b/src/main/asciidoc/mediatypes.adoc index 61ff47bfa..469e6d16e 100644 --- a/src/main/asciidoc/mediatypes.adoc +++ b/src/main/asciidoc/mediatypes.adoc @@ -260,7 +260,7 @@ public class Config { @Bean public CurieProvider curieProvider() { - return new DefaultCurieProvider("ex", new UriTemplate("https://www.example.com/rels/{rel}")); + return new DefaultCurieProvider("ex", UriTemplate.of("https://www.example.com/rels/{rel}")); } } ----