From cf72136f5ed7538f91b682e6e96f401f12ba800e Mon Sep 17 00:00:00 2001 From: Paul Vogel Date: Mon, 19 Oct 2026 14:22:02 +0200 Subject: [PATCH] set artifactVersion to 4.0.0 --- config.yaml | 2 +- src/Client/CurseForgeAPIClient.php | 4 ++-- src/Configuration.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config.yaml b/config.yaml index 34d1a25..9d7a0c3 100644 --- a/config.yaml +++ b/config.yaml @@ -1,5 +1,5 @@ invokerPackage: Aternos\CurseForgeApi -artifactVersion: 3.1.0 +artifactVersion: 4.0.0 generatorName: php-nextgen outputDir: . sourceFolder: src diff --git a/src/Client/CurseForgeAPIClient.php b/src/Client/CurseForgeAPIClient.php index cef2005..ee44b88 100644 --- a/src/Client/CurseForgeAPIClient.php +++ b/src/Client/CurseForgeAPIClient.php @@ -78,7 +78,7 @@ public function __construct(string $apiToken, ?Configuration $configuration = nu } /** - * Get the installed version of this library, e.g. "3.1.0" or "dev-master" + * Get the installed version of this library, e.g. "4.0.0" or "dev-master" * Returns "unknown" if the version cannot be determined, e.g. if the library was not installed using composer. * @return string */ @@ -92,7 +92,7 @@ public static function getLibraryVersion(): string } /** - * Get the user agent that identifies this library, e.g. "aternos/php-curseforge-api/3.1.0" + * Get the user agent that identifies this library, e.g. "aternos/php-curseforge-api/4.0.0" * It is used unless a different user agent is set with {@see setUserAgent()}. * @return string */ diff --git a/src/Configuration.php b/src/Configuration.php index f79701f..470b78e 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -99,7 +99,7 @@ class Configuration * * @var string */ - protected string $userAgent = 'OpenAPI-Generator/3.1.0/PHP'; + protected string $userAgent = 'OpenAPI-Generator/4.0.0/PHP'; /** * Debug switch (default set to false) @@ -466,7 +466,7 @@ public static function toDebugReport(): string $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' The version of the OpenAPI document: 1.0.0' . PHP_EOL; - $report .= ' SDK Package Version: 3.1.0' . PHP_EOL; + $report .= ' SDK Package Version: 4.0.0' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report;