Mingwei Samuel
172bc84620
Add special parsing for `GameType`s missing `_GAME` suffix, add tests
...
https://github.com/RiotGames/developer-relations/issues/878
2024-01-15 11:58:24 -08:00
Mingwei Samuel
ac12a8bfc2
Always display queue notes in doc comment
2023-11-15 11:43:29 -08:00
Mingwei Samuel
7e78abb7e5
Update route.rs.dt comment typo
2023-05-09 22:09:13 -07:00
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
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
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
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
ede1247bf8
fixup! Release 2.5.1
2022-02-08 22:28:29 -08:00
Mingwei Samuel
1d70c479cf
Add #![deny(missing_docs)], document all items
2022-02-08 17:17:47 -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
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