Class: RSpec::OpenAPI::NullableConverter=Object.new

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/openapi/nullable_converter.rb

Overview

Converts between the internal nullable: true form and the 3.1+ JSON Schema null form (type: [..., 'null']). The builder and merger only use nullable; normalize! runs on read, to_json_schema! on write.