Skip to content

Commit

Permalink
Rerun with generator 7.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianVennen committed Jan 20, 2025
1 parent c163d89 commit cfb528f
Show file tree
Hide file tree
Showing 70 changed files with 415 additions and 412 deletions.
10 changes: 5 additions & 5 deletions lib/Api/MiscApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* The version of the OpenAPI document: v2.7.0/15cf3fc
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.10.0
* Generator version: 7.11.0
*/

/**
Expand Down Expand Up @@ -87,10 +87,10 @@ class MiscApi
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
*/
public function __construct(
ClientInterface $client = null,
Configuration $config = null,
HeaderSelector $selector = null,
$hostIndex = 0
?ClientInterface $client = null,
?Configuration $config = null,
?HeaderSelector $selector = null,
int $hostIndex = 0
) {
$this->client = $client ?: new Client();
$this->config = $config ?: Configuration::getDefaultConfiguration();
Expand Down
10 changes: 5 additions & 5 deletions lib/Api/NotificationsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* The version of the OpenAPI document: v2.7.0/15cf3fc
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.10.0
* Generator version: 7.11.0
*/

/**
Expand Down Expand Up @@ -102,10 +102,10 @@ class NotificationsApi
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
*/
public function __construct(
ClientInterface $client = null,
Configuration $config = null,
HeaderSelector $selector = null,
$hostIndex = 0
?ClientInterface $client = null,
?Configuration $config = null,
?HeaderSelector $selector = null,
int $hostIndex = 0
) {
$this->client = $client ?: new Client();
$this->config = $config ?: Configuration::getDefaultConfiguration();
Expand Down
191 changes: 96 additions & 95 deletions lib/Api/ProjectsApi.php

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions lib/Api/TagsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* The version of the OpenAPI document: v2.7.0/15cf3fc
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.10.0
* Generator version: 7.11.0
*/

/**
Expand Down Expand Up @@ -108,10 +108,10 @@ class TagsApi
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
*/
public function __construct(
ClientInterface $client = null,
Configuration $config = null,
HeaderSelector $selector = null,
$hostIndex = 0
?ClientInterface $client = null,
?Configuration $config = null,
?HeaderSelector $selector = null,
int $hostIndex = 0
) {
$this->client = $client ?: new Client();
$this->config = $config ?: Configuration::getDefaultConfiguration();
Expand Down
40 changes: 20 additions & 20 deletions lib/Api/TeamsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* The version of the OpenAPI document: v2.7.0/15cf3fc
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.10.0
* Generator version: 7.11.0
*/

/**
Expand Down Expand Up @@ -105,10 +105,10 @@ class TeamsApi
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
*/
public function __construct(
ClientInterface $client = null,
Configuration $config = null,
HeaderSelector $selector = null,
$hostIndex = 0
?ClientInterface $client = null,
?Configuration $config = null,
?HeaderSelector $selector = null,
int $hostIndex = 0
) {
$this->client = $client ?: new Client();
$this->config = $config ?: Configuration::getDefaultConfiguration();
Expand Down Expand Up @@ -150,7 +150,7 @@ public function getConfig()
* Add a user to a team
*
* @param string $id The ID of the team (required)
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['addTeamMember'] to see the possible values for this operation
*
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format
Expand All @@ -168,7 +168,7 @@ public function addTeamMember($id, $user_identifier = null, string $contentType
* Add a user to a team
*
* @param string $id The ID of the team (required)
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['addTeamMember'] to see the possible values for this operation
*
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format
Expand Down Expand Up @@ -225,7 +225,7 @@ public function addTeamMemberWithHttpInfo($id, $user_identifier = null, string $
* Add a user to a team
*
* @param string $id The ID of the team (required)
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['addTeamMember'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand All @@ -247,7 +247,7 @@ function ($response) {
* Add a user to a team
*
* @param string $id The ID of the team (required)
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['addTeamMember'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand Down Expand Up @@ -285,7 +285,7 @@ function ($exception) {
* Create request for operation 'addTeamMember'
*
* @param string $id The ID of the team (required)
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['addTeamMember'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand Down Expand Up @@ -1804,7 +1804,7 @@ public function joinTeamRequest($id, string $contentType = self::contentTypes['j
*
* @param string $id The ID of the team (required)
* @param string $id_username The ID or username of the user (required)
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody $modify_team_member_body Contents to be modified (optional)
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody|null $modify_team_member_body Contents to be modified (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyTeamMember'] to see the possible values for this operation
*
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format
Expand All @@ -1823,7 +1823,7 @@ public function modifyTeamMember($id, $id_username, $modify_team_member_body = n
*
* @param string $id The ID of the team (required)
* @param string $id_username The ID or username of the user (required)
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody $modify_team_member_body Contents to be modified (optional)
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody|null $modify_team_member_body Contents to be modified (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyTeamMember'] to see the possible values for this operation
*
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format
Expand Down Expand Up @@ -1881,7 +1881,7 @@ public function modifyTeamMemberWithHttpInfo($id, $id_username, $modify_team_mem
*
* @param string $id The ID of the team (required)
* @param string $id_username The ID or username of the user (required)
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody $modify_team_member_body Contents to be modified (optional)
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody|null $modify_team_member_body Contents to be modified (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyTeamMember'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand All @@ -1904,7 +1904,7 @@ function ($response) {
*
* @param string $id The ID of the team (required)
* @param string $id_username The ID or username of the user (required)
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody $modify_team_member_body Contents to be modified (optional)
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody|null $modify_team_member_body Contents to be modified (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyTeamMember'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand Down Expand Up @@ -1943,7 +1943,7 @@ function ($exception) {
*
* @param string $id The ID of the team (required)
* @param string $id_username The ID or username of the user (required)
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody $modify_team_member_body Contents to be modified (optional)
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody|null $modify_team_member_body Contents to be modified (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyTeamMember'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand Down Expand Up @@ -2066,7 +2066,7 @@ public function modifyTeamMemberRequest($id, $id_username, $modify_team_member_b
* Transfer team's ownership to another user
*
* @param string $id The ID of the team (required)
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier New owner's ID (optional)
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier New owner's ID (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['transferTeamOwnership'] to see the possible values for this operation
*
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format
Expand All @@ -2084,7 +2084,7 @@ public function transferTeamOwnership($id, $user_identifier = null, string $cont
* Transfer team's ownership to another user
*
* @param string $id The ID of the team (required)
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier New owner's ID (optional)
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier New owner's ID (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['transferTeamOwnership'] to see the possible values for this operation
*
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format
Expand Down Expand Up @@ -2141,7 +2141,7 @@ public function transferTeamOwnershipWithHttpInfo($id, $user_identifier = null,
* Transfer team's ownership to another user
*
* @param string $id The ID of the team (required)
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier New owner's ID (optional)
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier New owner's ID (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['transferTeamOwnership'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand All @@ -2163,7 +2163,7 @@ function ($response) {
* Transfer team's ownership to another user
*
* @param string $id The ID of the team (required)
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier New owner's ID (optional)
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier New owner's ID (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['transferTeamOwnership'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand Down Expand Up @@ -2201,7 +2201,7 @@ function ($exception) {
* Create request for operation 'transferTeamOwnership'
*
* @param string $id The ID of the team (required)
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier New owner's ID (optional)
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier New owner's ID (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['transferTeamOwnership'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand Down
Loading

0 comments on commit cfb528f

Please sign in to comment.