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
03a053d142
Regen and fixes for added lol-challenges-v1.getAllChallengePercentiles
and .getChallengePercentiles
tests.
2022-05-19 00:15:28 -07:00
dependabot[bot]
1b62208c78
Bump ajv from 6.10.2 to 6.12.6 in /riven/srcgen
...
Bumps [ajv](https://github.com/ajv-validator/ajv ) from 6.10.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases )
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.2...v6.12.6 )
---
updated-dependencies:
- dependency-name: ajv
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-13 20:31:10 -08:00
Mingwei Samuel
386d41c208
Add tests for match-v5.ParticipantDto.challenges
, add deny-unknown-fields
feature
2022-02-10 17:02:56 -08: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
2f4d1dc65c
Add match_v5::Participant champion(&self) method to handle bad champion IDs
...
Riot: https://github.com/RiotGames/developer-relations/issues/553
https://github.com/MingweiSamuel/Riven/issues/36
2021-12-29 11:15:23 -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
0b16c2a385
Cleanup per clippy recommendations
2021-10-29 22:38:48 -07:00
Mingwei Samuel
0e22623056
Make models derive Clone, regen
...
Only couple descriptions changed in spec.
2021-10-29 22:24:57 -07:00
Mingwei Samuel
3cd41bce4c
Fix .gitignore for riven/srcgen move
2021-09-27 19:36:11 -07:00
Mingwei Samuel
9c13d126a6
Regen for match-v4 removal
...
- Comment out match-v4 tests.
2021-09-27 19:04:35 -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