Nesting Custom Type in spring Boot Rest Api | Using ONE TO ONE Mapping with Spring Boot Rest API In this tutorial, we are going to learn how to use custom type while creating the rest API using spring boot.