You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/asciidoc/mediatypes.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -895,7 +895,7 @@ The preferred way to implement media type representations is by providing a type
895
895
In the `Serializer` and `Deserializer` implementations registered for `RepresentationModel`, convert the instances into the media type-specific model types and then lookup the Jackson serializer for those.
896
896
897
897
The media types supported by default use the same configuration mechanism as third-party implementations would do.
898
-
So it's worth studying the implementations in https://github.com/spring-projects/spring-hateoas/tree/master/src/main/java/org/springframework/hateoas/mediatype[the `mediatype` package].
898
+
So it's worth studying the implementations in https://github.com/spring-projects/spring-hateoas/tree/main/src/main/java/org/springframework/hateoas/mediatype[the `mediatype` package].
899
899
Note, that the built in media type implementations keep their configuration classes package private, as they're activated via `@EnableHypermediaSupport`.
900
900
Custom implementations should probably make those public instead to make sure, users can import those configuration classes from their application packages.
Copy file name to clipboardExpand all lines: src/main/asciidoc/migrate-to-1.0.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ Also the name changes have been reflected in the classes contained in `TypeRefer
39
39
[[migrate-to-1.0.script]]
40
40
== The migration script
41
41
42
-
You can find https://github.com/spring-projects/spring-hateoas/tree/master/etc[a script] to run from your application root that will update all import statements and static method references to Spring HATEOAS types that moved in our source code repository.
42
+
You can find https://github.com/spring-projects/spring-hateoas/tree/main/etc[a script] to run from your application root that will update all import statements and static method references to Spring HATEOAS types that moved in our source code repository.
43
43
Simply download that, run it from your project root.
44
44
By default it will inspect all Java source files and replace the legacy Spring HATEOAS type references with the new ones.
0 commit comments