Introduce OpenAPI.Reference which supports taking a JSONReference and additionally specifying a summary or description to override the referenced object's summary or description. This overriding naturally only takes place if the referenced object normally would have a summary or description.
Closes https://github.com/mattpolzin/OpenAPIKit/issues/188.
Introduce
OpenAPI.Reference
which supports taking aJSONReference
and additionally specifying asummary
ordescription
to override the referenced object'ssummary
ordescription
. This overriding naturally only takes place if the referenced object normally would have asummary
ordescription
.