scenario:
  id: 2f6b1f89b2914997a74765da1e392bfd
  context:
    auth:
      type: customized
    base_path: null
    host: serverless.staging.tidbapi.com
  description: need continue_on_unexpected and export unmatched case
  name: serverless_branch_service.openapi.403
steps:
- operation_id: BranchService_ListBranches
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/v1beta1/clusters/10179628114637936298/branches",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for BranchService_ListBranches with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_branchservice_listbranches_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 2f6b1f89b2914997a74765da1e392bfd
  order: 1
  case_id: 2f6b1f89b2914997a74765da1e392bfd_1
  case_type: typical_negative
  step_type: generated
- operation_id: BranchService_CreateBranch
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "POST",
      "path": "/v1beta1/clusters/10179628114637936298/branches",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for BranchService_CreateBranch with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_branchservice_createbranch_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 2f6b1f89b2914997a74765da1e392bfd
  order: 2
  case_id: 2f6b1f89b2914997a74765da1e392bfd_2
  case_type: typical_negative
  step_type: generated
- operation_id: BranchService_GetBranch
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/v1beta1/clusters/10179628114637936298/branches/123",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for BranchService_GetBranch with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_branchservice_getbranch_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 2f6b1f89b2914997a74765da1e392bfd
  order: 3
  case_id: 2f6b1f89b2914997a74765da1e392bfd_3
  case_type: typical_negative
  step_type: generated
- operation_id: BranchService_DeleteBranch
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "DELETE",
      "path": "/v1beta1/clusters/10179628114637936298/branches/123",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for BranchService_DeleteBranch with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_branchservice_deletebranch_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 2f6b1f89b2914997a74765da1e392bfd
  order: 4
  case_id: 2f6b1f89b2914997a74765da1e392bfd_4
  case_type: typical_negative
  step_type: generated
- operation_id: BranchService_ResetBranch
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "POST",
      "path": "/v1beta1/clusters/10179628114637936298/branches/123:reset",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for BranchService_ResetBranch with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_branchservice_resetbranch_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 2f6b1f89b2914997a74765da1e392bfd
  order: 5
  case_id: 2f6b1f89b2914997a74765da1e392bfd_5
  case_type: typical_negative
  step_type: generated
