#Exposing and protecting endpoints

1 messages · Page 1 of 1 (latest)

radiant jetty
#

What do you mean by hide? In the sense of not including them in the generated documentation?

karmic belfry
#

In the workflow frontend - backend I am securing via JWT but within of my system I have other service is asking or responding data to backend. In this point is not needed 100% to secure the endpoint because the request is sent from the backend and this backend is authenticating. But maybe is neccessary to secure that connection as well.. i don't know.. the question is, what is the best way in this scenario.

hollow pivot
#

in the case that by "exclude" you meant from your swagger:
you can add the @ApiExcludeEndpoint() on that endpoint so that it won't show up

radiant jetty