====test==== Making a request (and not including any credentials) to an endpoint, which security depends on the one and only global security definition, results in a 401 status code response. ====spec==== openapi: 3.0.2 paths: /todos: get: responses: 200: description: OK content: application/json: example: test components: securitySchemes: DigestAuth: type: http scheme: digest security: - DigestAuth: [] ====server==== mock -p 4010 ${document} ====command==== curl -i http://localhost:4010/todos ====expect==== HTTP/1.1 401 Unauthorized www-authenticate: Digest realm="*", nonce="abc123" {"type":"https://stoplight.io/prism/errors#UNAUTHORIZED","title":"Invalid security scheme used","status":401,"detail":"Your request does not fullfil the security requirements and no HTTP unauthorized response was found in the spec, so Prism is generating this error for you.","headers":{"WWW-Authenticate":"Digest realm=\"*\", nonce=\"abc123\""}}