OpenApiComponentAnnotationScanner class
Scans PowerShell script files for OpenAPI component annotations defined via attributes.
public static class OpenApiComponentAnnotationScanner
Public Members
| name | description |
|---|---|
| static ScanFromPath(…) | Scan starting from a main script file path. |
| static ScanFromRunningScriptOrPath(…) | Scan starting from the running script (via $PSCommandPath) or a provided mainPath, follow dot-sourced files, and extract “standalone attribute line applies to next variable assignment” annotations. |
| class AnnotatedVariable | Represents a variable discovered in script, along with its OpenAPI annotations and metadata. |