Sha256: 02541c7af1d0a7f708d78fdf51eacd4239012cd774845c09140a4219dde83334
Contents?: true
Size: 335 Bytes
Versions: 11
Compression:
Stored size: 335 Bytes
Contents
require_relative "./json_schema/subset_dsl" require_relative "./json_schema/jimmy" require_relative "../dsl" module Swagger class DSL < Hash class JsonSchema def self.by(dsl_type = nil) dsl_type ||= Swagger::DSL.current.config.default_dsl dsl_type == :jimmy ? Jimmy : SubsetDSL end end end end
Version data entries
11 entries across 11 versions & 1 rubygems