@webroute/oasType aliases
ParsePath
ParsePath<
T
,TPath
>: { [Method in keyof T["paths"][TPath] as `${Uppercase<Method & string>} ${TPath & string}`]: T["paths"][TPath][Method] extends infer $Operation extends oas31.OperationObject ? ParseOperation<$Operation, Defaulted<T["components"], Object>> : Object }
Parses a single path of an OAS definition.
Type Parameters
Type Parameter |
---|
T extends oas31.OpenAPIObject |
TPath extends keyof T ["paths" ] |