Commit Graph

24 Commits (97b6017b426c7a41309ad9c07bc914aa2fca06ab)

Author SHA1 Message Date
Mingwei Samuel d7330fcd84 Regen, update for `TournamentRegion` enum, more `PlatformRoute` `altName`s 2023-01-20 22:06:16 -08:00
Mingwei Samuel 08e276a558 Generate region enums 2023-01-07 20:07:35 -08:00
Mingwei Samuel c9bca855f2 Regen for K'Sante, `getByRSOPUUID` 2023-01-07 18:09:17 -08:00
djazouli 2f4aae6635 regen 2022-08-12 07:54:15 -07:00
Mingwei Samuel 3ae9f36888 Generate `queue_type.rs` from riotapi-schema version 2022-06-21 00:09:08 -07:00
Mingwei Samuel bfa9bdc36e Add deny-unknown-enum-variants features
Add `NONE = -1` variant to Champions
2022-06-20 20:43:16 -07:00
Mingwei Samuel 2e52b03c63 Add `QueueType` tests for serde & unknown variants 2022-06-20 19:29:34 -07:00
Mingwei Samuel b24fdcb765 Use `#[derive(Serialize, Deserialize)]` for string enums missing `UNKNOWN(String)` variant
Use updated `serde_string!` -> `serde_strum_unknown!` for enums with
`UNKNOWN` variant.
2022-06-20 10:05:54 -07:00
Mingwei Samuel 104db04d9d Revert "Remove serde_string! macro in favor of #[derive(Serialize, Deserialize)]"
This reverts commit 038e5eb493.

This is to fix handling of `#[strum(default)]` variants.
2022-06-20 09:40:28 -07:00
Mingwei Samuel b82a1725c1 Add RANKED_TFT_DOUBLE_UP (renamed version of RANKED_TFT_PAIRS) 2022-06-15 15:14:13 -07:00
Mingwei Samuel 8e6073aa63 Regen, add rest of tests for `lol-challenges-v1`
Also adds Bel'Veth.
2022-05-25 18:27:48 -07:00
Mingwei Samuel 03a053d142 Regen and fixes for added `lol-challenges-v1.getAllChallengePercentiles` and `.getChallengePercentiles` tests. 2022-05-19 00:15:28 -07:00
Mingwei Samuel 038e5eb493 Remove serde_string! macro in favor of #[derive(Serialize, Deserialize)]
As pointed out in #33
2022-02-08 22:28:48 -08:00
Mingwei Samuel 9f5935a3f5 Fix typos in doc comments 2022-02-08 20:27:58 -08:00
Mingwei Samuel 1d70c479cf Add #![deny(missing_docs)], document all items 2022-02-08 17:17:47 -08:00
Mingwei Samuel 7865a439e1 Regen for Zeri, Renata Glasc, and ARURF queue ID updates. 2022-02-08 16:52:17 -08:00
Mingwei Samuel d05f89c0d4 Fix parsing of Champion, improve error handling 2021-12-29 11:53:15 -08:00
Mingwei Samuel c07efb1087 match-v5.ParticipantDto use champion_id: Result<Champion, TryFromIntError> to handle invalid ints
Riot bug: https://github.com/RiotGames/developer-relations/issues/553
Fix #36
2021-12-29 10:50:10 -08:00
Mingwei Samuel 40edebf78b Regen for new queue enums, bugged LeagueEntry values 2021-11-19 18:53:32 -08:00
aPinat 260bf8250a Add RANKED_TFT_PAIRS QueueType 2021-11-19 18:28:02 -08:00
Mingwei Samuel 0b16c2a385 Cleanup per clippy recommendations 2021-10-29 22:38:48 -07:00
Mingwei Samuel ad1b4fd630 Add Team ID 300 for baron killing herald 2021-10-07 09:24:56 -07:00
Mingwei Samuel 32e70437ab Update enum numeric values (fixes #29), update doc links, regen 2021-09-09 22:51:15 -07:00
Mingwei Samuel 74eb5fa045 Update example proxy for v2, use workspaces.
- `example/proxy` is new folder for `example_proxy`.
- `riven` is new folder for the main riven lib.
- Updated metadata to be an array and include HTTP method.
2021-09-09 14:31:39 -07:00