Skip to content

Commit bcc346a

Browse files
committed
Bump version
1 parent 26ee558 commit bcc346a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+415
-418
lines changed

config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
invokerPackage: Aternos\ModrinthApi
2-
artifactVersion: 2.1.1
2+
artifactVersion: 2.1.2
33
generatorName: php
44
outputDir: .
55
inputSpec: https://raw.githubusercontent.com/modrinth/code/refs/heads/main/apps/docs/public/openapi.yaml

lib/Api/MiscApi.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* The version of the OpenAPI document: v2.7.0/15cf3fc
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
20-
* Generator version: 7.11.0
20+
* Generator version: 7.10.0
2121
*/
2222

2323
/**
@@ -87,10 +87,10 @@ class MiscApi
8787
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
8888
*/
8989
public function __construct(
90-
?ClientInterface $client = null,
91-
?Configuration $config = null,
92-
?HeaderSelector $selector = null,
93-
int $hostIndex = 0
90+
ClientInterface $client = null,
91+
Configuration $config = null,
92+
HeaderSelector $selector = null,
93+
$hostIndex = 0
9494
) {
9595
$this->client = $client ?: new Client();
9696
$this->config = $config ?: Configuration::getDefaultConfiguration();

lib/Api/NotificationsApi.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* The version of the OpenAPI document: v2.7.0/15cf3fc
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
20-
* Generator version: 7.11.0
20+
* Generator version: 7.10.0
2121
*/
2222

2323
/**
@@ -102,10 +102,10 @@ class NotificationsApi
102102
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
103103
*/
104104
public function __construct(
105-
?ClientInterface $client = null,
106-
?Configuration $config = null,
107-
?HeaderSelector $selector = null,
108-
int $hostIndex = 0
105+
ClientInterface $client = null,
106+
Configuration $config = null,
107+
HeaderSelector $selector = null,
108+
$hostIndex = 0
109109
) {
110110
$this->client = $client ?: new Client();
111111
$this->config = $config ?: Configuration::getDefaultConfiguration();

lib/Api/ProjectsApi.php

Lines changed: 95 additions & 96 deletions
Large diffs are not rendered by default.

lib/Api/TagsApi.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* The version of the OpenAPI document: v2.7.0/15cf3fc
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
20-
* Generator version: 7.11.0
20+
* Generator version: 7.10.0
2121
*/
2222

2323
/**
@@ -108,10 +108,10 @@ class TagsApi
108108
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
109109
*/
110110
public function __construct(
111-
?ClientInterface $client = null,
112-
?Configuration $config = null,
113-
?HeaderSelector $selector = null,
114-
int $hostIndex = 0
111+
ClientInterface $client = null,
112+
Configuration $config = null,
113+
HeaderSelector $selector = null,
114+
$hostIndex = 0
115115
) {
116116
$this->client = $client ?: new Client();
117117
$this->config = $config ?: Configuration::getDefaultConfiguration();

lib/Api/TeamsApi.php

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* The version of the OpenAPI document: v2.7.0/15cf3fc
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
20-
* Generator version: 7.11.0
20+
* Generator version: 7.10.0
2121
*/
2222

2323
/**
@@ -105,10 +105,10 @@ class TeamsApi
105105
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
106106
*/
107107
public function __construct(
108-
?ClientInterface $client = null,
109-
?Configuration $config = null,
110-
?HeaderSelector $selector = null,
111-
int $hostIndex = 0
108+
ClientInterface $client = null,
109+
Configuration $config = null,
110+
HeaderSelector $selector = null,
111+
$hostIndex = 0
112112
) {
113113
$this->client = $client ?: new Client();
114114
$this->config = $config ?: Configuration::getDefaultConfiguration();
@@ -150,7 +150,7 @@ public function getConfig()
150150
* Add a user to a team
151151
*
152152
* @param string $id The ID of the team (required)
153-
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
153+
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
154154
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['addTeamMember'] to see the possible values for this operation
155155
*
156156
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format
@@ -168,7 +168,7 @@ public function addTeamMember($id, $user_identifier = null, string $contentType
168168
* Add a user to a team
169169
*
170170
* @param string $id The ID of the team (required)
171-
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
171+
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
172172
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['addTeamMember'] to see the possible values for this operation
173173
*
174174
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format
@@ -225,7 +225,7 @@ public function addTeamMemberWithHttpInfo($id, $user_identifier = null, string $
225225
* Add a user to a team
226226
*
227227
* @param string $id The ID of the team (required)
228-
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
228+
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
229229
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['addTeamMember'] to see the possible values for this operation
230230
*
231231
* @throws \InvalidArgumentException
@@ -247,7 +247,7 @@ function ($response) {
247247
* Add a user to a team
248248
*
249249
* @param string $id The ID of the team (required)
250-
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
250+
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
251251
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['addTeamMember'] to see the possible values for this operation
252252
*
253253
* @throws \InvalidArgumentException
@@ -285,7 +285,7 @@ function ($exception) {
285285
* Create request for operation 'addTeamMember'
286286
*
287287
* @param string $id The ID of the team (required)
288-
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
288+
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
289289
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['addTeamMember'] to see the possible values for this operation
290290
*
291291
* @throws \InvalidArgumentException
@@ -1804,7 +1804,7 @@ public function joinTeamRequest($id, string $contentType = self::contentTypes['j
18041804
*
18051805
* @param string $id The ID of the team (required)
18061806
* @param string $id_username The ID or username of the user (required)
1807-
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody|null $modify_team_member_body Contents to be modified (optional)
1807+
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody $modify_team_member_body Contents to be modified (optional)
18081808
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyTeamMember'] to see the possible values for this operation
18091809
*
18101810
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format
@@ -1823,7 +1823,7 @@ public function modifyTeamMember($id, $id_username, $modify_team_member_body = n
18231823
*
18241824
* @param string $id The ID of the team (required)
18251825
* @param string $id_username The ID or username of the user (required)
1826-
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody|null $modify_team_member_body Contents to be modified (optional)
1826+
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody $modify_team_member_body Contents to be modified (optional)
18271827
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyTeamMember'] to see the possible values for this operation
18281828
*
18291829
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format
@@ -1881,7 +1881,7 @@ public function modifyTeamMemberWithHttpInfo($id, $id_username, $modify_team_mem
18811881
*
18821882
* @param string $id The ID of the team (required)
18831883
* @param string $id_username The ID or username of the user (required)
1884-
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody|null $modify_team_member_body Contents to be modified (optional)
1884+
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody $modify_team_member_body Contents to be modified (optional)
18851885
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyTeamMember'] to see the possible values for this operation
18861886
*
18871887
* @throws \InvalidArgumentException
@@ -1904,7 +1904,7 @@ function ($response) {
19041904
*
19051905
* @param string $id The ID of the team (required)
19061906
* @param string $id_username The ID or username of the user (required)
1907-
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody|null $modify_team_member_body Contents to be modified (optional)
1907+
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody $modify_team_member_body Contents to be modified (optional)
19081908
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyTeamMember'] to see the possible values for this operation
19091909
*
19101910
* @throws \InvalidArgumentException
@@ -1943,7 +1943,7 @@ function ($exception) {
19431943
*
19441944
* @param string $id The ID of the team (required)
19451945
* @param string $id_username The ID or username of the user (required)
1946-
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody|null $modify_team_member_body Contents to be modified (optional)
1946+
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody $modify_team_member_body Contents to be modified (optional)
19471947
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyTeamMember'] to see the possible values for this operation
19481948
*
19491949
* @throws \InvalidArgumentException
@@ -2066,7 +2066,7 @@ public function modifyTeamMemberRequest($id, $id_username, $modify_team_member_b
20662066
* Transfer team's ownership to another user
20672067
*
20682068
* @param string $id The ID of the team (required)
2069-
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier New owner's ID (optional)
2069+
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier New owner's ID (optional)
20702070
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['transferTeamOwnership'] to see the possible values for this operation
20712071
*
20722072
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format
@@ -2084,7 +2084,7 @@ public function transferTeamOwnership($id, $user_identifier = null, string $cont
20842084
* Transfer team's ownership to another user
20852085
*
20862086
* @param string $id The ID of the team (required)
2087-
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier New owner's ID (optional)
2087+
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier New owner's ID (optional)
20882088
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['transferTeamOwnership'] to see the possible values for this operation
20892089
*
20902090
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format
@@ -2141,7 +2141,7 @@ public function transferTeamOwnershipWithHttpInfo($id, $user_identifier = null,
21412141
* Transfer team's ownership to another user
21422142
*
21432143
* @param string $id The ID of the team (required)
2144-
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier New owner's ID (optional)
2144+
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier New owner's ID (optional)
21452145
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['transferTeamOwnership'] to see the possible values for this operation
21462146
*
21472147
* @throws \InvalidArgumentException
@@ -2163,7 +2163,7 @@ function ($response) {
21632163
* Transfer team's ownership to another user
21642164
*
21652165
* @param string $id The ID of the team (required)
2166-
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier New owner's ID (optional)
2166+
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier New owner's ID (optional)
21672167
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['transferTeamOwnership'] to see the possible values for this operation
21682168
*
21692169
* @throws \InvalidArgumentException
@@ -2201,7 +2201,7 @@ function ($exception) {
22012201
* Create request for operation 'transferTeamOwnership'
22022202
*
22032203
* @param string $id The ID of the team (required)
2204-
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier New owner's ID (optional)
2204+
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier New owner's ID (optional)
22052205
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['transferTeamOwnership'] to see the possible values for this operation
22062206
*
22072207
* @throws \InvalidArgumentException

0 commit comments

Comments
 (0)