Skip to content

Commit

Permalink
Merge pull request #1454 from mdaneri/issue-1450
Browse files Browse the repository at this point in the history
Fix OpenAPI Route Parameter Handling in Pode
  • Loading branch information
Badgerati authored Nov 22, 2024
2 parents 5a0bee1 + d9a34f3 commit 508c2da
Show file tree
Hide file tree
Showing 3 changed files with 5,383 additions and 2,909 deletions.
4 changes: 2 additions & 2 deletions src/Public/Routes.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,8 @@ function Add-PodeRoute {
})


if ($PodeContext.Server.OpenAPI.Routes -notcontains $OpenApiPath ) {
$PodeContext.Server.OpenAPI.Routes += $OpenApiPath
if ($PodeContext.Server.OpenAPI.Routes -notcontains $Path ) {
$PodeContext.Server.OpenAPI.Routes += $Path
}


Expand Down
Loading

0 comments on commit 508c2da

Please sign in to comment.