def METHOD_NAME(testdir, empty_open_api_3_schema, cli):
    # When the schema defines multiple auth mechanisms on the same operation
    # And the user passes an explicit `Authorization` header
    empty_open_api_3_schema["paths"] = {
        "/health": {
            "get": {
                "summary": "",
                "responses": {"200": {"description": "OK"}},
            }
        }
    }
    empty_open_api_3_schema["components"] = {
        "securitySchemes": {
            "bearerAuth": {
                "type": "http",
                "scheme": "bearer",
                "bearerFormat": "uuid",
                "description": '* Thing access: "Authorization: Thing <thing_key>"\n',
            },
            "basicAuth": {
                "type": "http",
                "scheme": "basic",
                "description": '* Things access: "Authorization: Basic <base64-encoded_credentials>"\n',
            },
        }
    }
    empty_open_api_3_schema["security"] = [{"bearerAuth": []}, {"basicAuth": []}]
    schema_file = testdir.makefile(".json", schema=json.dumps(empty_open_api_3_schema))
    result = cli.run(str(schema_file), "--dry-run", "-H", "Authorization: Bearer foo")
    # Then it should be able to generate requests
    assert result.exit_code == ExitCode.OK, result.stdout