Skip to content

Commit

Permalink
fix: Keep old path parameter property order
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin committed Mar 28, 2024
1 parent 67aeddc commit b562412
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate-spec
Original file line number Diff line number Diff line change
Expand Up @@ -620,12 +620,12 @@ foreach ($routes as $scope => $scopeRoutes) {
$parameter = [
"name" => $urlParameter,
"in" => "path",
"required" => true,
"schema" => $schema,
];
if ($description !== null) {
$parameter["description"] = $description;
}
$parameter["required"] = true;
$parameter["schema"] = $schema;

$pathParameters[] = $parameter;
}
Expand Down

0 comments on commit b562412

Please sign in to comment.