package com.rizki.mufrizal.spring.oauth2.custom;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 *
 * @Author Rizki Mufrizal <mufrizalrizki@gmail.com>
 * @Web <https://RizkiMufrizal.github.io>
 * @Since Jan 30, 2017
 * @Time 10:27:33 AM
 * @Encoding UTF-8
 * @Project Spring-OAuth2-Custom
 * @Package com.rizki.mufrizal.spring.oauth2.custom
 *
 */
@SpringBootApplication
public class SpringOAuth2CustomApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringOAuth2CustomApplication.class, args);
    }
}

@@ -162,16 +162,83 @@
 ication;
+%0Aimport org.springframework.hateoas.config.EnableHypermediaSupport;
 %0A%0A/**%0A *
@@ -510,16 +510,92 @@
 ication%0A
+@EnableHypermediaSupport(type = EnableHypermediaSupport.HypermediaType.HAL)%0A
 public c

add enable HATEOAS