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: 2 additions & 1 deletion config.yaml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
Expand Down
Loading