Skip to content

Commit

Permalink
Merge pull request #110 from nextcloud/fix/path-parameter-property-order
Browse files Browse the repository at this point in the history
fix: Keep old path parameter property order
  • Loading branch information
nickvergessen authored Mar 28, 2024
2 parents 67aeddc + b562412 commit 5379789
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 5379789

Please sign in to comment.