Has anyone built a fully functional Spring rest controller without using any of JAXRS classes?

Hi,

I am trying to create a spring rest controller in my /site project with all spring annotations . However I see that my controller currently extends org.hippoecm.hst.jaxrs.services.AbstractResource . So, I wonder if there is a spring alternative to it ?
Currentlly my spring based rest controller isn’t being recognized as a service.

I really appreciate all your help.
Many Thanks

This could be useful: https://www.onehippo.org/library/concepts/integration/hst-container-integration-with-other-web-application-frameworks.html