Open jsg91 opened 1 week ago
Fixed by #1454
if you need a quick fix, change line 455 of the file public/Route.ps1:
if ($PodeContext.Server.OpenAPI.Routes -notcontains $OpenApiPath ) {
$PodeContext.Server.OpenAPI.Routes += $OpenApiPath
}
To:
if ($PodeContext.Server.OpenAPI.Routes -notcontains $Path ) {
$PodeContext.Server.OpenAPI.Routes += $Path
}
Describe the Bug
Not sure where the issue lies, the example from the documentation works in v2.11.0 but no longer in v2.11.1.
Steps To Reproduce
Expected Behavior
OpenAPI definition won't include that route in v2.11.1, while does in v2.11.0
Platform
PowerShell 7.4.5 w IIS