sul-dlss / cocina-models

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

Provide user documentation for cocina models #365

Open justinlittman opened 2 years ago

justinlittman commented 2 years ago

This would be intended for internal non-dev users and external users interested in cocina.

justinlittman commented 2 years ago

Here is the current rendering of the openapi.yml: http://sul-dlss.github.io/cocina-models/

andrewjbtw commented 2 years ago

Questions I think external users are going to have, based on questions that I have had in the past or still have:

justinlittman commented 2 years ago

One possible approach is to have an overview page that addresses some of these questions and points to specific parts of the published (rendered) openapi documentation. This will allow identifying the schemas that are relevant to a user (DRO, Collection, AdminPolicy) while avoiding those that are not (ObjectMetadata).

I also wonder if there isn't a different rendering that provides better access to the schemas ("DRO") instead of the endpoints ("validate a ...").

justinlittman commented 2 years ago

To reduce the confusion over "validate ...", those labels can just be changed to whatever is clearest -- they serve no real function in cocina.

justinlittman commented 2 years ago

Also, redoc supports a variety of configuration options: https://redocly.com/docs/api-reference-docs/configuration/