@webroute/oasType aliases
ParseResponses
ParseResponses<
T
,TRef
>:T
extendsoas31.ResponsesObject
? keyofT
extends infer $Key ?$Key
extends `2${string}` ?ParseResponse
<T
[$Key
],TRef
> :never
:never
:never
Parses a responses object of an OAS definition.
Type Parameters
Type Parameter |
---|
T extends oas31.ResponsesObject | undefined |
TRef extends oas31.ComponentsObject |