7
8
9
10
11
|
# File 'lib/skooma/keywords/oas_3_1.rb', line 7
def wrap_value(value)
return super unless value.is_a?(Hash) || value.is_a?(TrueClass) || value.is_a?(FalseClass)
Objects::OpenAPI.new(value, registry: parent_schema.registry, parent: parent_schema, key: key)
end
|