Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
* text=auto

/.agents export-ignore
/.githooks export-ignore
/.github export-ignore
/tests export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/AGENTS.md export-ignore
/composer.lowest.json export-ignore
/composer.lowest.lock export-ignore
/phpunit.xml export-ignore
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"require": {
"php": ">=8.1",
"ext-fileinfo": "*",
"ext-json": "*",
"ext-pdo": "*",
"fakerphp/faker": "^1.23.1",
"laravel/framework": "^9.21 || ^10.0 || ^11.0 || ^12.0 || ^13.0",
Expand Down
1 change: 0 additions & 1 deletion composer.lowest.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"require": {
"php": ">=8.1",
"ext-fileinfo": "*",
"ext-json": "*",
"ext-pdo": "*",
"erusev/parsedown": "1.7.4",
"fakerphp/faker": "^1.23.1",
Expand Down
3 changes: 1 addition & 2 deletions composer.lowest.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "4c691e7d98776e612a13194197e00412",
"content-hash": "b55b19b8781dd424fd906b03c39206ae",
"packages": [
{
"name": "brick/math",
Expand Down Expand Up @@ -8467,7 +8467,6 @@
"platform": {
"php": ">=8.1",
"ext-fileinfo": "*",
"ext-json": "*",
"ext-pdo": "*"
},
"platform-dev": {},
Expand Down
2 changes: 1 addition & 1 deletion src/Writing/OpenApiSpecGenerators/BaseGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ protected function urlParamToOpenApiParameterObject(string $name, Parameter $det
];
// Workaround for optional parameters
if (empty($details->required)) {
$parameterData['description'] = rtrim('Optional parameter. '.$parameterData['description']);
$parameterData['description'] = mb_rtrim('Optional parameter. '.$parameterData['description']);
$parameterData['examples'] = [
'omitted' => [
'summary' => 'When the value is omitted',
Expand Down