From 118dc2d958d5840e346890f54b76ecc4190f8fe9 Mon Sep 17 00:00:00 2001 From: Paul Vogel Date: Fri, 16 Oct 2026 12:38:46 +0200 Subject: [PATCH 1/2] update config.yaml: update artifactVersion, add sourceFolder --- config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.yaml b/config.yaml index 0f7d9c3..c631677 100644 --- a/config.yaml +++ b/config.yaml @@ -1,6 +1,7 @@ invokerPackage: Aternos\ModrinthApi -artifactVersion: 3.2.2 +artifactVersion: 4.0.0 generatorName: php-nextgen outputDir: . +sourceFolder: src inputSpec: https://raw.githubusercontent.com/modrinth/code/refs/heads/main/apps/docs/public/openapi.yaml enumUnknownDefaultCase: true From 3b528c0209375da19aabdf4e97c0b96b841d60af Mon Sep 17 00:00:00 2001 From: Paul Vogel Date: Fri, 16 Oct 2026 12:39:04 +0200 Subject: [PATCH 2/2] update artifact version in Configuration.php --- src/Configuration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Configuration.php b/src/Configuration.php index be3a167..f1d3a24 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -100,7 +100,7 @@ class Configuration * * @var string */ - protected string $userAgent = 'OpenAPI-Generator/3.2.2/PHP'; + protected string $userAgent = 'OpenAPI-Generator/4.0.0/PHP'; /** * Debug switch (default set to false) @@ -467,7 +467,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: v2.7.0/366f528' . PHP_EOL; - $report .= ' SDK Package Version: 3.2.2' . PHP_EOL; + $report .= ' SDK Package Version: 4.0.0' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report;