Skip to content

Commit 94f9ea0

Browse files
committed
Rerun generator
1 parent 5eee349 commit 94f9ea0

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/Api/ThreadsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ $apiInstance = new Aternos\ModrinthApi\Api\ThreadsApi(
341341
new GuzzleHttp\Client(),
342342
$config
343343
);
344-
$ids = ["AABBCCDD", "EEFFGGHH"]; // string[] | The IDs of the threads
344+
$ids = ["AABBCCDD", "EEFFGGHH"]; // string | The IDs of the threads
345345

346346
try {
347347
$result = $apiInstance->getThreads($ids);
@@ -355,7 +355,7 @@ try {
355355

356356
| Name | Type | Description | Notes |
357357
| ------------- | ------------- | ------------- | ------------- |
358-
| **ids** | [**string[]**](../Model/string.md)| The IDs of the threads | |
358+
| **ids** | **string**| The IDs of the threads | |
359359

360360
### Return type
361361

lib/Api/ThreadsApi.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,7 @@ public function getThreadRequest($id, string $contentType = self::contentTypes['
16111611
*
16121612
* Get multiple threads
16131613
*
1614-
* @param string[] $ids The IDs of the threads (required)
1614+
* @param string $ids The IDs of the threads (required)
16151615
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getThreads'] to see the possible values for this operation
16161616
*
16171617
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response
@@ -1629,7 +1629,7 @@ public function getThreads($ids, string $contentType = self::contentTypes['getTh
16291629
*
16301630
* Get multiple threads
16311631
*
1632-
* @param string[] $ids The IDs of the threads (required)
1632+
* @param string $ids The IDs of the threads (required)
16331633
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getThreads'] to see the possible values for this operation
16341634
*
16351635
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response
@@ -1729,7 +1729,7 @@ public function getThreadsWithHttpInfo($ids, string $contentType = self::content
17291729
*
17301730
* Get multiple threads
17311731
*
1732-
* @param string[] $ids The IDs of the threads (required)
1732+
* @param string $ids The IDs of the threads (required)
17331733
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getThreads'] to see the possible values for this operation
17341734
*
17351735
* @throws \InvalidArgumentException
@@ -1750,7 +1750,7 @@ function ($response) {
17501750
*
17511751
* Get multiple threads
17521752
*
1753-
* @param string[] $ids The IDs of the threads (required)
1753+
* @param string $ids The IDs of the threads (required)
17541754
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getThreads'] to see the possible values for this operation
17551755
*
17561756
* @throws \InvalidArgumentException
@@ -1800,7 +1800,7 @@ function ($exception) {
18001800
/**
18011801
* Create request for operation 'getThreads'
18021802
*
1803-
* @param string[] $ids The IDs of the threads (required)
1803+
* @param string $ids The IDs of the threads (required)
18041804
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getThreads'] to see the possible values for this operation
18051805
*
18061806
* @throws \InvalidArgumentException
@@ -1828,7 +1828,7 @@ public function getThreadsRequest($ids, string $contentType = self::contentTypes
18281828
$queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue(
18291829
$ids,
18301830
'ids', // param base name
1831-
'array', // openApiType
1831+
'string', // openApiType
18321832
'form', // style
18331833
true, // explode
18341834
true // required

0 commit comments

Comments
 (0)