tryGetParametersFromRef
Attempts to dereference a parameter $ref against the OpenAPI components. Returns the dereferenced parameter if found; otherwise returns the original.
Return
dereferenced parameter or the original input
Parameters
parameter
parameter that may contain a $ref
openAPI
OpenAPI document providing component definitions