OpenApiDocDescriptor.LoadAnnotatedFunctions method

Enumerates all in-session PowerShell functions in the given runspace, detects those annotated with [OpenApiPath], and maps them into the provided KestrunHost.

public void LoadAnnotatedFunctions(List<FunctionInfo> Infos)
parameter description
Infos List of FunctionInfo objects representing PowerShell functions.

See Also