Sha256: a19d36f36d4ffc3cca33623af10776708f63f1f7ecfa8ed7537bcb7f5c427fd7

Contents?: true

Size: 736 Bytes

Versions: 1

Compression:

Stored size: 736 Bytes

Contents

require "dry/swagger/version"
require "dry/swagger/contract_parser"
require "dry/swagger/struct_parser"
require 'helpers/configuration'

module Dry
  module Swagger
    class Error < StandardError; end

    extend Configuration

    define_setting :struct_enable_required_validation, true
    define_setting :struct_enable_nullable_validation, true
    define_setting :struct_enable_enums, true
    define_setting :struct_enable_descriptions, true

    define_setting :contract_enable_required_validation, true
    define_setting :contract_enable_nullable_validation, true
    define_setting :contract_enable_enums, true
    define_setting :contract_enable_descriptions, true

    define_setting :nullable_type, :"x-nullable"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-swagger-0.3.0 lib/dry/swagger.rb