diff --git a/src/endpoints.rs b/src/endpoints.rs
index fbb536d..d663b3b 100644
--- a/src/endpoints.rs
+++ b/src/endpoints.rs
@@ -281,7 +281,7 @@ impl<'a> AccountV1<'a> {
/// Get account by puuid
/// # Parameters
/// * `route` - Route to query.
- /// * `puuid`
+ /// * `puuid` (required, in path)
/// # Riot Developer API Reference
/// `account-v1.getByPuuid`
///
@@ -297,8 +297,8 @@ impl<'a> AccountV1<'a> {
/// Get account by riot id
/// # Parameters
/// * `route` - Route to query.
- /// * `tagLine` - When querying for a player by their riot id, the gameName and tagLine query params are required. However not all accounts have a gameName and tagLine associated so these fields may not be included in the response.
- /// * `gameName` - When querying for a player by their riot id, the gameName and tagLine query params are required. However not all accounts have a gameName and tagLine associated so these fields may not be included in the response.
+ /// * `tag_line` (required, in path) - When querying for a player by their riot id, the gameName and tagLine query params are required. However not all accounts have a gameName and tagLine associated so these fields may not be included in the response.
+ /// * `game_name` (required, in path) - When querying for a player by their riot id, the gameName and tagLine query params are required. However not all accounts have a gameName and tagLine associated so these fields may not be included in the response.
/// # Riot Developer API Reference
/// `account-v1.getByRiotId`
///
@@ -314,7 +314,7 @@ impl<'a> AccountV1<'a> {
/// Get account by access token
/// # Parameters
/// * `route` - Route to query.
- /// * `Authorization`
+ /// * `authorization` (required, in header)
/// # Riot Developer API Reference
/// `account-v1.getByAccessToken`
///
@@ -331,8 +331,8 @@ impl<'a> AccountV1<'a> {
/// Get active shard for a player
/// # Parameters
/// * `route` - Route to query.
- /// * `game`
- /// * `puuid`
+ /// * `game` (required, in path)
+ /// * `puuid` (required, in path)
/// # Riot Developer API Reference
/// `account-v1.getActiveShard`
///
@@ -360,7 +360,7 @@ impl<'a> ChampionMasteryV4<'a> {
/// Get all champion mastery entries sorted by number of champion points descending,
/// # Parameters
/// * `route` - Route to query.
- /// * `encryptedSummonerId` - Summoner ID associated with the player
+ /// * `encrypted_summoner_id` (required, in path) - Summoner ID associated with the player
/// # Riot Developer API Reference
/// `champion-mastery-v4.getAllChampionMasteries`
///
@@ -376,8 +376,8 @@ impl<'a> ChampionMasteryV4<'a> {
/// Get a champion mastery by player ID and champion ID.
/// # Parameters
/// * `route` - Route to query.
- /// * `championId` - Champion ID to retrieve Champion Mastery for
- /// * `encryptedSummonerId` - Summoner ID associated with the player
+ /// * `champion_id` (required, in path) - Champion ID to retrieve Champion Mastery for
+ /// * `encrypted_summoner_id` (required, in path) - Summoner ID associated with the player
/// # Riot Developer API Reference
/// `champion-mastery-v4.getChampionMastery`
///
@@ -393,7 +393,7 @@ impl<'a> ChampionMasteryV4<'a> {
/// Get a player's total champion mastery score, which is the sum of individual champion mastery levels.
/// # Parameters
/// * `route` - Route to query.
- /// * `encryptedSummonerId` - Summoner ID associated with the player
+ /// * `encrypted_summoner_id` (required, in path) - Summoner ID associated with the player
/// # Riot Developer API Reference
/// `champion-mastery-v4.getChampionMasteryScore`
///
@@ -450,7 +450,7 @@ impl<'a> ClashV1<'a> {
/// This endpoint returns a list of active Clash players for a given summoner ID. If a summoner registers for multiple tournaments at the same time (e.g., Saturday and Sunday) then both registrations would appear in this list.
/// # Parameters
/// * `route` - Route to query.
- /// * `summonerId`
+ /// * `summoner_id` (required, in path)
/// # Riot Developer API Reference
/// `clash-v1.getPlayersBySummoner`
///
@@ -466,7 +466,7 @@ impl<'a> ClashV1<'a> {
/// Get team by ID.
/// # Parameters
/// * `route` - Route to query.
- /// * `teamId`
+ /// * `team_id` (required, in path)
/// # Riot Developer API Reference
/// `clash-v1.getTeamById`
///
@@ -497,7 +497,7 @@ impl<'a> ClashV1<'a> {
/// Get tournament by team ID.
/// # Parameters
/// * `route` - Route to query.
- /// * `teamId`
+ /// * `team_id` (required, in path)
/// # Riot Developer API Reference
/// `clash-v1.getTournamentByTeam`
///
@@ -513,7 +513,7 @@ impl<'a> ClashV1<'a> {
/// Get tournament by ID.
/// # Parameters
/// * `route` - Route to query.
- /// * `tournamentId`
+ /// * `tournament_id` (required, in path)
/// # Riot Developer API Reference
/// `clash-v1.getTournamentById`
///
@@ -541,10 +541,10 @@ impl<'a> LeagueExpV4<'a> {
/// Get all the league entries.
/// # Parameters
/// * `route` - Route to query.
- /// * `queue` - Note that the queue value must be a valid ranked queue.
- /// * `tier`
- /// * `division`
- /// * `page` (optional) - Defaults to 1. Starts with page 1.
+ /// * `queue` (required, in path) - Note that the queue value must be a valid ranked queue.
+ /// * `tier` (required, in path)
+ /// * `division` (required, in path)
+ /// * `page` (optional, in query) - Defaults to 1. Starts with page 1.
/// # Riot Developer API Reference
/// `league-exp-v4.getLeagueEntries`
///
@@ -573,7 +573,7 @@ impl<'a> LeagueV4<'a> {
/// Get the challenger league for given queue.
/// # Parameters
/// * `route` - Route to query.
- /// * `queue`
+ /// * `queue` (required, in path)
/// # Riot Developer API Reference
/// `league-v4.getChallengerLeague`
///
@@ -589,7 +589,7 @@ impl<'a> LeagueV4<'a> {
/// Get league entries in all queues for a given summoner ID.
/// # Parameters
/// * `route` - Route to query.
- /// * `encryptedSummonerId`
+ /// * `encrypted_summoner_id` (required, in path)
/// # Riot Developer API Reference
/// `league-v4.getLeagueEntriesForSummoner`
///
@@ -605,10 +605,10 @@ impl<'a> LeagueV4<'a> {
/// Get all the league entries.
/// # Parameters
/// * `route` - Route to query.
- /// * `division`
- /// * `tier`
- /// * `queue` - Note that the queue value must be a valid ranked queue.
- /// * `page` (optional) - Defaults to 1. Starts with page 1.
+ /// * `division` (required, in path)
+ /// * `tier` (required, in path)
+ /// * `queue` (required, in path) - Note that the queue value must be a valid ranked queue.
+ /// * `page` (optional, in query) - Defaults to 1. Starts with page 1.
/// # Riot Developer API Reference
/// `league-v4.getLeagueEntries`
///
@@ -625,7 +625,7 @@ impl<'a> LeagueV4<'a> {
/// Get the grandmaster league of a specific queue.
/// # Parameters
/// * `route` - Route to query.
- /// * `queue`
+ /// * `queue` (required, in path)
/// # Riot Developer API Reference
/// `league-v4.getGrandmasterLeague`
///
@@ -641,7 +641,7 @@ impl<'a> LeagueV4<'a> {
/// Get league with given ID, including inactive entries.
/// # Parameters
/// * `route` - Route to query.
- /// * `leagueId` - The UUID of the league.
+ /// * `league_id` (required, in path) - The UUID of the league.
/// # Riot Developer API Reference
/// `league-v4.getLeagueById`
///
@@ -657,7 +657,7 @@ impl<'a> LeagueV4<'a> {
/// Get the master league for given queue.
/// # Parameters
/// * `route` - Route to query.
- /// * `queue`
+ /// * `queue` (required, in path)
/// # Riot Developer API Reference
/// `league-v4.getMasterLeague`
///
@@ -741,7 +741,7 @@ impl<'a> LorDeckV1<'a> {
/// Get a list of the calling user's decks.
/// # Parameters
/// * `route` - Route to query.
- /// * `Authorization`
+ /// * `authorization` (required, in header)
/// # Riot Developer API Reference
/// `lor-deck-v1.getDecks`
///
@@ -758,7 +758,7 @@ impl<'a> LorDeckV1<'a> {
/// Create a new deck for the calling user.
/// # Parameters
/// * `route` - Route to query.
- /// * `Authorization`
+ /// * `authorization` (required, in header)
/// # Riot Developer API Reference
/// `lor-deck-v1.createDeck`
///
@@ -788,7 +788,7 @@ impl<'a> LorInventoryV1<'a> {
/// Return a list of cards owned by the calling user.
/// # Parameters
/// * `route` - Route to query.
- /// * `Authorization`
+ /// * `authorization` (required, in header)
/// # Riot Developer API Reference
/// `lor-inventory-v1.getCards`
///
@@ -817,7 +817,7 @@ impl<'a> LorMatchV1<'a> {
/// Get a list of match ids by PUUID
/// # Parameters
/// * `route` - Route to query.
- /// * `puuid`
+ /// * `puuid` (required, in path)
/// # Riot Developer API Reference
/// `lor-match-v1.getMatchIdsByPUUID`
///
@@ -833,7 +833,7 @@ impl<'a> LorMatchV1<'a> {
/// Get match by id
/// # Parameters
/// * `route` - Route to query.
- /// * `matchId`
+ /// * `match_id` (required, in path)
/// # Riot Developer API Reference
/// `lor-match-v1.getMatch`
///
@@ -915,7 +915,7 @@ impl<'a> MatchV4<'a> {
/// Get match IDs by tournament code.
/// # Parameters
/// * `route` - Route to query.
- /// * `tournamentCode` - The tournament code.
+ /// * `tournament_code` (required, in path) - The tournament code.
/// # Riot Developer API Reference
/// `match-v4.getMatchIdsByTournamentCode`
///
@@ -931,7 +931,7 @@ impl<'a> MatchV4<'a> {
/// Get match by match ID.
/// # Parameters
/// * `route` - Route to query.
- /// * `matchId` - The match ID.
+ /// * `match_id` (required, in path) - The match ID.
/// # Riot Developer API Reference
/// `match-v4.getMatch`
///
@@ -947,8 +947,8 @@ impl<'a> MatchV4<'a> {
/// Get match by match ID and tournament code.
/// # Parameters
/// * `route` - Route to query.
- /// * `tournamentCode` - The tournament code.
- /// * `matchId` - The match ID.
+ /// * `tournament_code` (required, in path) - The tournament code.
+ /// * `match_id` (required, in path) - The match ID.
/// # Riot Developer API Reference
/// `match-v4.getMatchByTournamentCode`
///
@@ -970,14 +970,14 @@ impl<'a> MatchV4<'a> {
/// If beginTime is specified, but not endTime, then endTime defaults to the the current unix timestamp in milliseconds (the maximum time range limitation is not observed in this specific case). If endTime is specified, but not beginTime, then beginTime defaults to the start of the account's match history returning a 400 due to the maximum time range limitation. If both are specified, then endTime should be greater than beginTime. The maximum time range allowed is one week, otherwise a 400 error code is returned.
/// # Parameters
/// * `route` - Route to query.
- /// * `encryptedAccountId` - The account ID.
- /// * `champion` (optional) - Set of champion IDs for filtering the matchlist.
- /// * `queue` (optional) - Set of queue IDs for filtering the matchlist.
- /// * `season` (optional) - [DEPRECATED] This field should not be considered reliable for the purposes of filtering matches by season.
- /// * `endTime` (optional) - The end time to use for filtering matchlist specified as epoch milliseconds. If beginTime is specified, but not endTime, then endTime defaults to the the current unix timestamp in milliseconds (the maximum time range limitation is not observed in this specific case). If endTime is specified, but not beginTime, then beginTime defaults to the start of the account's match history returning a 400 due to the maximum time range limitation. If both are specified, then endTime should be greater than beginTime. The maximum time range allowed is one week, otherwise a 400 error code is returned.
- /// * `beginTime` (optional) - The begin time to use for filtering matchlist specified as epoch milliseconds. If beginTime is specified, but not endTime, then endTime defaults to the the current unix timestamp in milliseconds (the maximum time range limitation is not observed in this specific case). If endTime is specified, but not beginTime, then beginTime defaults to the start of the account's match history returning a 400 due to the maximum time range limitation. If both are specified, then endTime should be greater than beginTime. The maximum time range allowed is one week, otherwise a 400 error code is returned.
- /// * `endIndex` (optional) - The end index to use for filtering matchlist. If beginIndex is specified, but not endIndex, then endIndex defaults to beginIndex+100. If endIndex is specified, but not beginIndex, then beginIndex defaults to 0. If both are specified, then endIndex must be greater than beginIndex. The maximum range allowed is 100, otherwise a 400 error code is returned.
- /// * `beginIndex` (optional) - The begin index to use for filtering matchlist. If beginIndex is specified, but not endIndex, then endIndex defaults to beginIndex+100. If endIndex is specified, but not beginIndex, then beginIndex defaults to 0. If both are specified, then endIndex must be greater than beginIndex. The maximum range allowed is 100, otherwise a 400 error code is returned.
+ /// * `encrypted_account_id` (required, in path) - The account ID.
+ /// * `champion` (optional, in query) - Set of champion IDs for filtering the matchlist.
+ /// * `queue` (optional, in query) - Set of queue IDs for filtering the matchlist.
+ /// * `season` (optional, in query) - [DEPRECATED] This field should not be considered reliable for the purposes of filtering matches by season.
+ /// * `end_time` (optional, in query) - The end time to use for filtering matchlist specified as epoch milliseconds. If beginTime is specified, but not endTime, then endTime defaults to the the current unix timestamp in milliseconds (the maximum time range limitation is not observed in this specific case). If endTime is specified, but not beginTime, then beginTime defaults to the start of the account's match history returning a 400 due to the maximum time range limitation. If both are specified, then endTime should be greater than beginTime. The maximum time range allowed is one week, otherwise a 400 error code is returned.
+ /// * `begin_time` (optional, in query) - The begin time to use for filtering matchlist specified as epoch milliseconds. If beginTime is specified, but not endTime, then endTime defaults to the the current unix timestamp in milliseconds (the maximum time range limitation is not observed in this specific case). If endTime is specified, but not beginTime, then beginTime defaults to the start of the account's match history returning a 400 due to the maximum time range limitation. If both are specified, then endTime should be greater than beginTime. The maximum time range allowed is one week, otherwise a 400 error code is returned.
+ /// * `end_index` (optional, in query) - The end index to use for filtering matchlist. If beginIndex is specified, but not endIndex, then endIndex defaults to beginIndex+100. If endIndex is specified, but not beginIndex, then beginIndex defaults to 0. If both are specified, then endIndex must be greater than beginIndex. The maximum range allowed is 100, otherwise a 400 error code is returned.
+ /// * `begin_index` (optional, in query) - The begin index to use for filtering matchlist. If beginIndex is specified, but not endIndex, then endIndex defaults to beginIndex+100. If endIndex is specified, but not beginIndex, then beginIndex defaults to 0. If both are specified, then endIndex must be greater than beginIndex. The maximum range allowed is 100, otherwise a 400 error code is returned.
/// # Riot Developer API Reference
/// `match-v4.getMatchlist`
///
@@ -1002,7 +1002,7 @@ impl<'a> MatchV4<'a> {
/// Not all matches have timeline data.
/// # Parameters
/// * `route` - Route to query.
- /// * `matchId` - The match ID.
+ /// * `match_id` (required, in path) - The match ID.
/// # Riot Developer API Reference
/// `match-v4.getMatchTimeline`
///
@@ -1030,9 +1030,9 @@ impl<'a> MatchV5<'a> {
/// Get a list of match ids by puuid
/// # Parameters
/// * `route` - Route to query.
- /// * `puuid`
- /// * `start` (optional) - Defaults to 0. Start index.
- /// * `count` (optional) - Defaults to 20. Valid values: 0 to 100. Match id count.
+ /// * `puuid` (required, in path)
+ /// * `start` (optional, in query) - Defaults to 0. Start index.
+ /// * `count` (optional, in query) - Defaults to 20. Valid values: 0 to 100. Match id count.
/// # Riot Developer API Reference
/// `match-v5.getMatchIdsByPUUID`
///
@@ -1050,7 +1050,7 @@ impl<'a> MatchV5<'a> {
/// Get a match by match id
/// # Parameters
/// * `route` - Route to query.
- /// * `matchId`
+ /// * `match_id` (required, in path)
/// # Riot Developer API Reference
/// `match-v5.getMatch`
///
@@ -1066,7 +1066,7 @@ impl<'a> MatchV5<'a> {
/// Get a match timeline by match id
/// # Parameters
/// * `route` - Route to query.
- /// * `matchId`
+ /// * `match_id` (required, in path)
/// # Riot Developer API Reference
/// `match-v5.getTimeline`
///
@@ -1094,7 +1094,7 @@ impl<'a> SpectatorV4<'a> {
/// Get current game information for the given summoner ID.
/// # Parameters
/// * `route` - Route to query.
- /// * `encryptedSummonerId` - The ID of the summoner.
+ /// * `encrypted_summoner_id` (required, in path) - The ID of the summoner.
/// # Riot Developer API Reference
/// `spectator-v4.getCurrentGameInfoBySummoner`
///
@@ -1137,7 +1137,7 @@ impl<'a> SummonerV4<'a> {
/// Get a summoner by account ID.
/// # Parameters
/// * `route` - Route to query.
- /// * `encryptedAccountId`
+ /// * `encrypted_account_id` (required, in path)
/// # Riot Developer API Reference
/// `summoner-v4.getByAccountId`
///
@@ -1153,7 +1153,7 @@ impl<'a> SummonerV4<'a> {
/// Get a summoner by summoner name.
/// # Parameters
/// * `route` - Route to query.
- /// * `summonerName` - Summoner Name
+ /// * `summoner_name` (required, in path) - Summoner Name
/// # Riot Developer API Reference
/// `summoner-v4.getBySummonerName`
///
@@ -1169,7 +1169,7 @@ impl<'a> SummonerV4<'a> {
/// Get a summoner by PUUID.
/// # Parameters
/// * `route` - Route to query.
- /// * `encryptedPUUID` - Summoner ID
+ /// * `encrypted_puuid` (required, in path) - Summoner ID
/// # Riot Developer API Reference
/// `summoner-v4.getByPUUID`
///
@@ -1185,7 +1185,7 @@ impl<'a> SummonerV4<'a> {
/// Get a summoner by access token.
/// # Parameters
/// * `route` - Route to query.
- /// * `Authorization` (optional) - Bearer token
+ /// * `authorization` (optional, in header) - Bearer token
/// # Riot Developer API Reference
/// `summoner-v4.getByAccessToken`
///
@@ -1202,7 +1202,7 @@ impl<'a> SummonerV4<'a> {
/// Get a summoner by summoner ID.
/// # Parameters
/// * `route` - Route to query.
- /// * `encryptedSummonerId` - Summoner ID
+ /// * `encrypted_summoner_id` (required, in path) - Summoner ID
/// # Riot Developer API Reference
/// `summoner-v4.getBySummonerId`
///
@@ -1245,7 +1245,7 @@ impl<'a> TftLeagueV1<'a> {
/// Get league entries for a given summoner ID.
/// # Parameters
/// * `route` - Route to query.
- /// * `summonerId`
+ /// * `summoner_id` (required, in path)
/// # Riot Developer API Reference
/// `tft-league-v1.getLeagueEntriesForSummoner`
///
@@ -1261,9 +1261,9 @@ impl<'a> TftLeagueV1<'a> {
/// Get all the league entries.
/// # Parameters
/// * `route` - Route to query.
- /// * `tier`
- /// * `division`
- /// * `page` (optional) - Defaults to 1. Starts with page 1.
+ /// * `tier` (required, in path)
+ /// * `division` (required, in path)
+ /// * `page` (optional, in query) - Defaults to 1. Starts with page 1.
/// # Riot Developer API Reference
/// `tft-league-v1.getLeagueEntries`
///
@@ -1295,7 +1295,7 @@ impl<'a> TftLeagueV1<'a> {
/// Get league with given ID, including inactive entries.
/// # Parameters
/// * `route` - Route to query.
- /// * `leagueId` - The UUID of the league.
+ /// * `league_id` (required, in path) - The UUID of the league.
/// # Riot Developer API Reference
/// `tft-league-v1.getLeagueById`
///
@@ -1326,7 +1326,7 @@ impl<'a> TftLeagueV1<'a> {
/// Get the top rated ladder for given queue
/// # Parameters
/// * `route` - Route to query.
- /// * `queue`
+ /// * `queue` (required, in path)
/// # Riot Developer API Reference
/// `tft-league-v1.getTopRatedLadder`
///
@@ -1354,8 +1354,8 @@ impl<'a> TftMatchV1<'a> {
/// Get a list of match ids by PUUID
/// # Parameters
/// * `route` - Route to query.
- /// * `puuid`
- /// * `count` (optional) - Defaults to 20.
+ /// * `puuid` (required, in path)
+ /// * `count` (optional, in query) - Defaults to 20.
/// # Riot Developer API Reference
/// `tft-match-v1.getMatchIdsByPUUID`
///
@@ -1372,7 +1372,7 @@ impl<'a> TftMatchV1<'a> {
/// Get a match by match id
/// # Parameters
/// * `route` - Route to query.
- /// * `matchId`
+ /// * `match_id` (required, in path)
/// # Riot Developer API Reference
/// `tft-match-v1.getMatch`
///
@@ -1400,7 +1400,7 @@ impl<'a> TftSummonerV1<'a> {
/// Get a summoner by account ID.
/// # Parameters
/// * `route` - Route to query.
- /// * `encryptedAccountId`
+ /// * `encrypted_account_id` (required, in path)
/// # Riot Developer API Reference
/// `tft-summoner-v1.getByAccountId`
///
@@ -1416,7 +1416,7 @@ impl<'a> TftSummonerV1<'a> {
/// Get a summoner by summoner name.
/// # Parameters
/// * `route` - Route to query.
- /// * `summonerName` - Summoner Name
+ /// * `summoner_name` (required, in path) - Summoner Name
/// # Riot Developer API Reference
/// `tft-summoner-v1.getBySummonerName`
///
@@ -1432,7 +1432,7 @@ impl<'a> TftSummonerV1<'a> {
/// Get a summoner by PUUID.
/// # Parameters
/// * `route` - Route to query.
- /// * `encryptedPUUID` - Summoner ID
+ /// * `encrypted_puuid` (required, in path) - Summoner ID
/// # Riot Developer API Reference
/// `tft-summoner-v1.getByPUUID`
///
@@ -1448,7 +1448,7 @@ impl<'a> TftSummonerV1<'a> {
/// Get a summoner by access token.
/// # Parameters
/// * `route` - Route to query.
- /// * `Authorization` (optional) - Bearer token.
+ /// * `authorization` (optional, in header) - Bearer token.
/// # Riot Developer API Reference
/// `tft-summoner-v1.getByAccessToken`
///
@@ -1465,7 +1465,7 @@ impl<'a> TftSummonerV1<'a> {
/// Get a summoner by summoner ID.
/// # Parameters
/// * `route` - Route to query.
- /// * `encryptedSummonerId` - Summoner ID
+ /// * `encrypted_summoner_id` (required, in path) - Summoner ID
/// # Riot Developer API Reference
/// `tft-summoner-v1.getBySummonerId`
///
@@ -1493,7 +1493,7 @@ impl<'a> ThirdPartyCodeV4<'a> {
/// Get third party code for a given summoner ID.
/// # Parameters
/// * `route` - Route to query.
- /// * `encryptedSummonerId`
+ /// * `encrypted_summoner_id` (required, in path)
/// # Riot Developer API Reference
/// `third-party-code-v4.getThirdPartyCodeBySummonerId`
///
@@ -1521,8 +1521,8 @@ impl<'a> TournamentStubV4<'a> {
/// Create a mock tournament code for the given tournament.
/// # Parameters
/// * `route` - Route to query.
- /// * `count` (optional) - The number of codes to create (max 1000)
- /// * `tournamentId` - The tournament ID
+ /// * `count` (optional, in query) - The number of codes to create (max 1000)
+ /// * `tournament_id` (required, in query) - The tournament ID
/// # Riot Developer API Reference
/// `tournament-stub-v4.createTournamentCode`
///
@@ -1541,7 +1541,7 @@ impl<'a> TournamentStubV4<'a> {
/// Gets a mock list of lobby events by tournament code.
/// # Parameters
/// * `route` - Route to query.
- /// * `tournamentCode` - The short code to look up lobby events for
+ /// * `tournament_code` (required, in path) - The short code to look up lobby events for
/// # Riot Developer API Reference
/// `tournament-stub-v4.getLobbyEventsByCode`
///
@@ -1603,8 +1603,8 @@ impl<'a> TournamentV4<'a> {
/// Create a tournament code for the given tournament.
/// # Parameters
/// * `route` - Route to query.
- /// * `count` (optional) - The number of codes to create (max 1000)
- /// * `tournamentId` - The tournament ID
+ /// * `count` (optional, in query) - The number of codes to create (max 1000)
+ /// * `tournament_id` (required, in query) - The tournament ID
/// # Riot Developer API Reference
/// `tournament-v4.createTournamentCode`
///
@@ -1623,7 +1623,7 @@ impl<'a> TournamentV4<'a> {
/// Returns the tournament code DTO associated with a tournament code string.
/// # Parameters
/// * `route` - Route to query.
- /// * `tournamentCode` - The tournament code string.
+ /// * `tournament_code` (required, in path) - The tournament code string.
/// # Riot Developer API Reference
/// `tournament-v4.getTournamentCode`
///
@@ -1639,7 +1639,7 @@ impl<'a> TournamentV4<'a> {
/// Update the pick type, map, spectator type, or allowed summoners for a code.
/// # Parameters
/// * `route` - Route to query.
- /// * `tournamentCode` - The tournament code to update
+ /// * `tournament_code` (required, in path) - The tournament code to update
/// # Riot Developer API Reference
/// `tournament-v4.updateCode`
///
@@ -1656,7 +1656,7 @@ impl<'a> TournamentV4<'a> {
/// Gets a list of lobby events by tournament code.
/// # Parameters
/// * `route` - Route to query.
- /// * `tournamentCode` - The short code to look up lobby events for
+ /// * `tournament_code` (required, in path) - The short code to look up lobby events for
/// # Riot Developer API Reference
/// `tournament-v4.getLobbyEventsByCode`
///
@@ -1718,7 +1718,7 @@ impl<'a> ValContentV1<'a> {
/// Get content optionally filtered by locale
/// # Parameters
/// * `route` - Route to query.
- /// * `locale` (optional)
+ /// * `locale` (optional, in query)
/// # Riot Developer API Reference
/// `val-content-v1.getContent`
///
@@ -1747,7 +1747,7 @@ impl<'a> ValMatchV1<'a> {
/// Get match by id
/// # Parameters
/// * `route` - Route to query.
- /// * `matchId`
+ /// * `match_id` (required, in path)
/// # Riot Developer API Reference
/// `val-match-v1.getMatch`
///
@@ -1763,7 +1763,7 @@ impl<'a> ValMatchV1<'a> {
/// Get matchlist for games played by puuid
/// # Parameters
/// * `route` - Route to query.
- /// * `puuid`
+ /// * `puuid` (required, in path)
/// # Riot Developer API Reference
/// `val-match-v1.getMatchlist`
///
@@ -1781,7 +1781,7 @@ impl<'a> ValMatchV1<'a> {
/// Returns a list of match ids that have completed in the last 10 minutes for live regions and 12 hours for the esports routing value. NA/LATAM/BR share a match history deployment. As such, recent matches will return a combined list of matches from those three regions. Requests are load balanced so you may see some inconsistencies as matches are added/removed from the list.
/// # Parameters
/// * `route` - Route to query.
- /// * `queue`
+ /// * `queue` (required, in path)
/// # Riot Developer API Reference
/// `val-match-v1.getRecent`
///
@@ -1809,9 +1809,9 @@ impl<'a> ValRankedV1<'a> {
/// Get leaderboard for the competitive queue
/// # Parameters
/// * `route` - Route to query.
- /// * `actId` - Act ids can be found using the val-content API.
- /// * `size` (optional) - Defaults to 200. Valid values: 1 to 200.
- /// * `startIndex` (optional) - Defaults to 0.
+ /// * `act_id` (required, in path) - Act ids can be found using the val-content API.
+ /// * `size` (optional, in query) - Defaults to 200. Valid values: 1 to 200.
+ /// * `start_index` (optional, in query) - Defaults to 0.
/// # Riot Developer API Reference
/// `val-ranked-v1.getLeaderboard`
///
diff --git a/srcgen/endpoints.rs.dt b/srcgen/endpoints.rs.dt
index 8e7b8c4..f5460b5 100644
--- a/srcgen/endpoints.rs.dt
+++ b/srcgen/endpoints.rs.dt
@@ -164,7 +164,7 @@ impl<'a> {{= endpoint }}<'a> {
for (let param of allParams)
{
}}
- /// * `{{= param.name }}`{{= param.required ? '' : ' (optional)' }}{{= param.description ? ' - ' + param.description : ''}}
+ /// * `{{= dotUtils.changeCase.snakeCase(param.name) }}` ({{= param.required ? 'required' : 'optional' }}, in {{= param.in }}){{= param.description ? ' - ' + param.description : ''}}
{{
}
}