rspec-openapi icon indicating copy to clipboard operation
rspec-openapi copied to clipboard

Fix psych disallowedclass error in ruby 3.1

Open ipepe opened this issue 5 months ago • 1 comments
trafficstars

Fixes https://github.com/exoego/rspec-openapi/issues/249 by adding Date to permitted_classes of YAML.safe_load in RSpec::OpenAPI::SchemaFile#read.

Changes

  • allow Date and Time when reading YAML schema files
  • add regression test for SchemaFile

ipepe avatar Jun 12 '25 18:06 ipepe