Sha256: 1d41b2eb5cce1d5737cee94fae340902fbb03f57937d7f5d585799a8a7fd5ddb

Contents?: true

Size: 756 Bytes

Versions: 8

Compression:

Stored size: 756 Bytes

Contents

require "pact_broker/api/contracts/base_contract"

module PactBroker
  module Api
    module Contracts
      class PactsForVerificationQueryStringSchema < BaseContract
        params do
          optional(:provider_version_tags).maybe(:array?)
          optional(:consumer_version_selectors).each do
            schema do
              required(:tag).filled(:string)
              optional(:latest).filled(included_in?: ["true", "false"])
              optional(:fallback_tag).filled(:string)
              optional(:consumer).filled(:string)
            end
          end
          optional(:include_pending_status).filled(included_in?: ["true", "false"])
          optional(:include_wip_pacts_since).filled(:date)
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pact_broker-2.112.0 lib/pact_broker/api/contracts/pacts_for_verification_query_string_schema.rb
pact_broker-2.111.0 lib/pact_broker/api/contracts/pacts_for_verification_query_string_schema.rb
pact_broker-2.109.1 lib/pact_broker/api/contracts/pacts_for_verification_query_string_schema.rb
pact_broker-2.109.0 lib/pact_broker/api/contracts/pacts_for_verification_query_string_schema.rb
pact_broker-2.108.0 lib/pact_broker/api/contracts/pacts_for_verification_query_string_schema.rb
pact_broker-2.107.1 lib/pact_broker/api/contracts/pacts_for_verification_query_string_schema.rb
pact_broker-2.107.0 lib/pact_broker/api/contracts/pacts_for_verification_query_string_schema.rb
pact_broker-2.107.0.beta.1 lib/pact_broker/api/contracts/pacts_for_verification_query_string_schema.rb