REST query and swagger

I’ve created a simple rest query… how do I call it?
Whenever i try to call from browser i got:

An Authentication object was not found in the SecurityContext

Also is there a way to display swagger page from app?


I’ll try to rephrase my question:
I would like to retrieve my data through a rest api call in a different front-end. How do I do it?
If possible, how I could grant anonymous access to rest api?

Also, is there a way to display all my created rest queries in a swagger-like page?


Ok, I’ve followed this tutorial

also i’ve read about anonymous access as well.

In the upcoming version 6.9, any running CUBA application exports the project-specific Swagger documentation including REST queries and services, see

Thank you Konstantin for sharing the info