We are transforming user input, we cannot assume the data property will actually be a Schema without doing some validation on it somewhere in the code.
Because of this, we're putting guards as isObject although the type should already guarantee that.
Reference: #106 (comment)
We are transforming user input, we cannot assume the
dataproperty will actually be aSchemawithout doing some validation on it somewhere in the code.Because of this, we're putting guards as
isObjectalthough the type should already guarantee that.http-spec/src/oas2/transformers/params.ts
Line 80 in f2f0acb
Reference: #106 (comment)