From b94eb5e3fb0e3e3a91e5f90e36fd151dbce4e788 Mon Sep 17 00:00:00 2001 From: Julian Vennen Date: Mon, 20 Jan 2025 17:20:44 +0100 Subject: [PATCH] Update useragent --- config.yaml | 2 +- lib/Configuration.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.yaml b/config.yaml index 3b667ea..5c2ca70 100644 --- a/config.yaml +++ b/config.yaml @@ -1,5 +1,5 @@ invokerPackage: Aternos\ModrinthApi -artifactVersion: 2.1.2 +artifactVersion: 2.1.3 generatorName: php outputDir: . inputSpec: https://raw.githubusercontent.com/modrinth/code/refs/heads/main/apps/docs/public/openapi.yaml diff --git a/lib/Configuration.php b/lib/Configuration.php index 09744fc..f6f0135 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -101,7 +101,7 @@ class Configuration * * @var string */ - protected $userAgent = 'OpenAPI-Generator/2.1.2/PHP'; + protected $userAgent = 'OpenAPI-Generator/2.1.3/PHP'; /** * Debug switch (default set to false) @@ -434,7 +434,7 @@ public static function toDebugReport() $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' The version of the OpenAPI document: v2.7.0/15cf3fc' . PHP_EOL; - $report .= ' SDK Package Version: 2.1.2' . PHP_EOL; + $report .= ' SDK Package Version: 2.1.3' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report;