Closed ndushay closed 2 years ago
NOTE: Changes to openapi.yml require updating openapi.yml for sdr-api and dor-services-app and generating models - see README.
MODS maps to more than description in cocina; it also maps to access and admin. Also, fewer nested classes save lives, or at least some typing.
part of #431
No openapi.yml was harmed in the creation of this PR.
specs pass.
âš¡ âš If this change has cross service impact, run integration tests and/or test in [stage|qa] environment, in addition to specs. âš¡
I sort of liked the Descriptive namespace here because it was indicating that we are mapping to/from Cocina::Models::Description and not from the whole object (e.g. Cocina::Models::DRO)
Cocina::Models::Description
Cocina::Models::DRO
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? 🤔
MODS maps to more than description in cocina; it also maps to access and admin. Also, fewer nested classes save lives, or at least some typing.
part of #431
No openapi.yml was harmed in the creation of this PR.
How was this change tested? 🤨
specs pass.
âš¡ âš If this change has cross service impact, run integration tests and/or test in [stage|qa] environment, in addition to specs. âš¡