sul-dlss / cocina-models

Cocina repository data model (implemented in Ruby)
https://sul-dlss.github.io/cocina-models/
3 stars 0 forks source link

Fix description types validation #633

Closed justinlittman closed 11 months ago

justinlittman commented 11 months ago

NOTE: Changes to openapi.yml require updating openapi.yml for sdr-api and dor-services-app and generating models - see README.

Why was this change made? 🤔

Types validation was not being performed.

How was this change tested? 🤨

âš¡ âš  If this change has cross service impact, run integration tests and/or test in [stage|qa] environment, in addition to specs. âš¡

Unit, qa, stage, and prod.

justinlittman commented 11 months ago

type and :type and everything are normalized to string in Cocina::Models::Validators::Validator with call to .with_indifferent_access.