Commit Graph

66 Commits (a1bca5257642fc3fcb57f173df725f6ba936462b)

Author SHA1 Message Date
Mingwei Samuel 62e2001457 Convert Season from enum to newtype_enum 2021-06-30 19:48:49 -07:00
Mingwei Samuel 4b23f9afed Convert Season from enum into newtype_enum 2021-06-30 19:46:26 -07:00
Mingwei Samuel 35f826b198 Convert Queue from enum to newtype_enum 2021-06-30 19:44:24 -07:00
Mingwei Samuel 2d80f97170 Convert Map from enum into newtype_enum 2021-06-30 19:40:48 -07:00
Mingwei Samuel 88124ecb3a Add unknown variant to GameMode 2021-06-30 19:35:08 -07:00
Mingwei Samuel 5daeab990a Add macro to create newtype_enums 2021-06-30 18:50:08 -07:00
Mingwei Samuel 07348a5c53 Add array of all champions 2021-06-30 17:31:57 -07:00
Mingwei Samuel 6307a0aa13 Convert CRLF to LF 2021-06-30 16:40:35 -07:00
Mingwei Samuel 2989c4483e Convert Champion enum into newtype 2021-06-30 16:29:39 -07:00
Mingwei Samuel c38afa7753 Fix handling of names for 'type' arg 2021-06-30 14:07:37 -07:00
Mingwei Samuel 2b1f109427 Handle numeric identifiers 2021-05-30 22:27:06 -07:00
Mingwei Samuel 20d5196f13 Improve endpoint method generated docs 2021-05-21 22:13:22 -07:00
Mingwei Samuel e7e40a3cc4 Add tests, fixes for tournament (stub) api 2021-05-21 21:59:51 -07:00
Mingwei Samuel dded4d5644 Use new routing instead of region 2021-05-21 21:25:19 -07:00
Mingwei Samuel 4e0d45e59d Add header parameter support 2021-05-21 19:04:04 -07:00
Mingwei Samuel 40d49f837d Add non-get methods with body params 2021-05-21 18:22:51 -07:00
Mingwei Samuel 8934790c1c Upgrade srcgen to use requests 2021-05-21 17:31:52 -07:00
Mingwei Samuel 869216aab5 Update for stable non_exhaustive attribute 2021-05-21 16:00:39 -07:00
Mingwei Samuel 32082b0a62 Do not support methods with header parameters 2021-05-20 14:21:46 -07:00
dependabot[bot] b2ad4ec50d Bump lodash from 4.17.15 to 4.17.21 in /srcgen
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 10:45:28 -07:00
Mingwei Samuel 19eeeae637 Regen for Viego, val-ranked-v1 2021-01-16 14:16:56 -08:00
Mingwei Samuel 426d8e9ee9 Fix strum pattern collisions 2021-01-05 14:38:46 -08:00
Mingwei Samuel 0f9d783b94 Update to use mingweisamuel.com/riotapi-schema/enums
https://github.com/RiotGames/developer-relations/issues/340
2020-07-28 09:45:35 -07:00
Mingwei Samuel e4884b7918 Fix srcgen Optional<String> method argument bug 2020-07-10 01:56:11 -07:00
Mingwei Samuel b3742ef919
endpoints.rs.dt remove broken unused header parsing code 2020-06-25 23:07:21 -07:00
Mingwei Samuel 1975b3f036 Update srcgen doT [ci skip] 2020-06-05 21:36:03 -07:00
Mingwei Samuel 3d56d7c722 Add meta module with ENDPOINT_PATH_METHODID map 2020-06-05 11:15:09 -07:00
Mingwei Samuel 1745ac0541 Update Queue const to prevent DEPRECATED collisions 2020-03-31 11:58:15 -07:00
Mingwei Samuel b8b3ec83f0 Adding iters to enums, updating a bunch of documentation 2020-02-01 16:56:10 -08:00
Mingwei Samuel 8c2cf64784 Update return Option only if x-nullable-404 2019-11-07 16:06:01 -08:00
Mingwei Samuel 9dfe5a4aaa Update to work on stable 1.39 2019-11-07 12:45:13 -08:00
Mingwei Samuel 48d0903138 Version 0.1.0 2019-11-05 00:19:33 -08:00
Mingwei Samuel dc751ee207 Update champion docs 2019-11-04 23:29:20 -08:00
Mingwei Samuel 914ce35259 Change region to be an enum 2019-11-04 17:00:59 -08:00
Mingwei Samuel de8cd21e94 move dtos to 'models' module 2019-11-03 10:48:45 -08:00
Mingwei Samuel f2e70246bf Update champion, enums, and srcgen docs 2019-11-03 10:36:51 -08:00
Mingwei Samuel 1b7d78e5e3 Updating nullability, fixing JS sort bugs 2019-10-31 01:09:20 -07:00
Mingwei Samuel 9db4c1a4a5 making some enums
#[non_exhaustive]
2019-10-30 13:29:23 -07:00
Mingwei Samuel f1c31a59fa fix usage of enums in endpoints 2019-10-29 16:51:41 -07:00
Mingwei Samuel 541ec9762c fixup! fix endpoint.rs indentation 2019-10-29 15:38:46 -07:00
Mingwei Samuel bc996a34e0 fix endpoint.rs indentation 2019-10-29 15:25:53 -07:00
Mingwei Samuel 5f5a32d753 make 'Official API Reference' not h1 in docs 2019-10-27 12:15:22 -07:00
Mingwei Samuel 375a98492c remove trailing ' ' in favor of <br> 2019-10-27 01:56:22 -07:00
Mingwei Samuel b230f266e1 Change enum variants to use SCREAMING_SNAKE_CASE since they are really sets of constants 2019-10-27 01:52:55 -07:00
Mingwei Samuel df27e7533e adding/switching to num_enum macros for enums 2019-10-26 09:28:30 -07:00
Mingwei Samuel 58cf643e13 adding enums to serialization 2019-10-25 22:19:00 -07:00
Mingwei Samuel 9c4d3608eb Adding Map enum 2019-10-25 19:52:43 -07:00
Mingwei Samuel aece28af4d adding GameMode enum 2019-10-25 19:41:41 -07:00
Mingwei Samuel adec5f0df8 adding game_type, removing unneccesary std::fmt::Debug imports 2019-10-25 19:38:08 -07:00
Mingwei Samuel 561eb04c48 updating season enum traits 2019-10-25 19:27:58 -07:00