Sha256: 72256fa291953a7488931c4ae9a22b58a4ed4769e7c4aab0f077596fdc9b5cc9

Contents?: true

Size: 1.32 KB

Versions: 10

Compression:

Stored size: 1.32 KB

Contents

# http_header_strategy
- request:
    headers:
      HTTP_ACCEPT: "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8;api_version=1"
  response: "template v1"

- request:
    headers:
      HTTP_ACCEPT: "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8;api_version=2"
  response: "template v2"

- request:
    headers:
      HTTP_ACCEPT: "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8;api_version=INVALID"
  response: "template v2"

# request_parameter_strategy
- request:
    method: post
    params:
      api_version: "1"
  response: "template v1"

- request:
    method: post
    params:
      api_version: "2"
  response: "template v2"

- request:
    method: post
    params:
      api_version: "INVALID"
  response: "template v2"

# query_parameter_strategy
- request:
    params:
      api_version: "1"
  response: "template v1"

- request:
    params:
      api_version: "2"
  response: "template v2"

- request:
    params:
      api_version: "INVALID"
  response: "template v2"

# http_header_strategy
- request:
    headers:
      HTTP_X_API_VERSION: "1"
  response: "template v1"

- request:
    headers:
      HTTP_X_API_VERSION: "2"
  response: "template v2"

- request:
    headers:
      HTTP_X_API_VERSION: "INVALID"
  response: "template v2"

# general
- request:
  response: "template v2"

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
solidus_backend-1.0.0.pre3 vendor/bundle/gems/versioncake-2.3.1/test/fixtures/test_cases.yml
solidus_backend-1.0.0.pre2 vendor/bundle/gems/versioncake-2.3.1/test/fixtures/test_cases.yml
solidus_backend-1.0.0.pre vendor/bundle/gems/versioncake-2.3.1/test/fixtures/test_cases.yml
versioncake-2.5.0 test/fixtures/test_cases.yml
versioncake-2.4.0 test/fixtures/test_cases.yml
versioncake-2.3.1 test/fixtures/test_cases.yml
versioncake-2.3.0 test/fixtures/test_cases.yml
versioncake-2.2.0 test/fixtures/test_cases.yml
versioncake-2.1.0 test/fixtures/test_cases.yml
versioncake-2.0.0 test/fixtures/test_cases.yml