You can integrate HAPI into Spring Boot by doing the following:
Create a HapiHttpMessageConverter to serialize/deserialize FHIR Resources
Create a HapiMessageConverterConfigurer to register the converter
Register the HapiMessgeConverterConfigurer with the Application Contex
The enclosed github project also configures Swagger so that it can represent HAPI resources.