Skip to content

Commit

Permalink
#1101 - Migrate HAL_JSON_UTF8 to HAL_JSON.
Browse files Browse the repository at this point in the history
org.springframework.hateoas.MediaTypes.HAL_JSON_UTF8 value was removed and only HAL_JSON is present. UTF8 is considered as default encoding for application/hal+json type.
  • Loading branch information
luvarqpp authored and gregturn committed Oct 23, 2019
1 parent cbae7db commit f45aabe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/migrate-to-1.0.sh
Expand Up @@ -65,6 +65,7 @@ s/hateoas\.core\.MethodParameters/hateoas.server.core.MethodParameters/g;\
s/hateoas\.core\.Relation/hateoas.server.core.Relation/g;\
\
s/hateoas\.hal/hateoas.mediatype.hal/g;\
s/HAL_JSON_UTF8/HAL_JSON/g;\
\
s/hateoas\.mvc\.BasicLinkBuilder/hateoas.server.mvc.BasicLinkBuilder/g;\
s/hateoas\.mvc\.ControllerLinkBuilder/hateoas.server.mvc.WebMvcLinkBuilder/g;\
Expand Down

0 comments on commit f45aabe

Please sign in to comment.