How can I change one part of the $ref, or add to it?
I have an OpenAPI 3.x response body:
ordernumber:
$ref: '#/components/requestBodies/ordernumber'
The descriptive text is applicable to every instance I use this in, except for the last line. That changes for each product, like a product number.
There are similar questions but about schemas that don't seem to apply, neither do the anyof operators. I'd guess it should be like this, but of course, this doesn't work since no additional operation can be used with $ref.
ordernumber:
$ref: '#/components/requestBodies/ordernumber'
description: For all units number T100-T1200.