Then the API docs should list "POST /api/v1/login/access-token"

The API docs list an operation: a method and a path as the schema writes it.

Examples

Then the API docs should list "POST /api/v1/login/access-token"
Then the API docs should list "GET /api/v1/items/{id}"
And the API docs should list "GET /api/v1/utils/health-check/"
Then the API docs should list "PATCH /api/v1/users/me"
But the API docs should list "DELETE /api/v1/items/{id}"

Pattern

Then(/^the API docs should list "([A-Z]+) ([^"]+)"$/, …)

Part of @webship-js/fastapi-steps (github.com/webship/fastapi-steps), a step pack for Webship-js 2.0.x.