PowerShellOpenApiClassExporter.ExportOpenApiClasses method (1 of 2)

Exports OpenAPI component classes found in loaded assemblies as PowerShell class definitions.

public static string ExportOpenApiClasses(Dictionary<string, string>? userCallbacks)
parameter description
userCallbacks Optional user-defined functions to include in the export.

Return Value

The path to the temporary PowerShell script containing the class definitions.

See Also


PowerShellOpenApiClassExporter.ExportOpenApiClasses method (2 of 2)

Exports OpenAPI component classes found in the specified assemblies as PowerShell class definitions

public static string ExportOpenApiClasses(Assembly[] assemblies, 
    Dictionary<string, string>? userCallbacks)
parameter description
assemblies The assemblies to scan for OpenAPI component classes.
userCallbacks Optional user-defined functions to include in the export.

Return Value

The path to the temporary PowerShell script containing the class definitions.

See Also