The backend's document says an operation needs a sign-in: a security requirement of its own (@ApiBearerAuth() on the route or its controller), or the document's (DocumentBuilder's addSecurityRequirements), that it does not set aside.
Examples
Then the backend should document "POST /v1/products" as needing a sign-in
And the backend should document "DELETE /v1/products/{id}" as needing a sign-in
Then the backend should document "GET /v1/auth/profile" as needing a sign-in
And the backend should document "PATCH /v1/orders/{id}" as needing a sign-in
Then the backend should document "GET /v1/users/me" as needing a sign-in
Pattern
Then(/^the backend should document "([A-Z]+) ([^"]+)" as needing a sign-in$/, …)
Part of @webship-js/nestjs-steps (github.com/webship/nestjs-steps), a step pack for Webship-js 2.0.x.