API平台:有没有办法完全关闭JWT身份验证?

I am using API Platform to build an API. I have an entity that represents a pairing between two devices, and I want to expose it.

In my entity definition, I have placed an @ApiResource before the start of the class.

The class now shows up automatically in my /docs screen:

screenshot

But when I try to visit /pairings, I get this response:

{ "code": 401, "message": "JWT Token not found" }

... and even when I comment out the two lines under the access_control section in my security.yaml this message persists.

Is there a way to turn JWT authentication off entirely?

You might have enabled it in the api_platform configuration as explained here.