{"id":15091403,"url":"https://github.com/mingweisamuel/riotapi-schema","last_synced_at":"2025-10-26T05:09:54.550Z","repository":{"id":40910430,"uuid":"108366156","full_name":"MingweiSamuel/riotapi-schema","owner":"MingweiSamuel","description":"OpenAPI/Swagger Schema of the Riot Games API","archived":false,"fork":false,"pushed_at":"2024-12-19T02:17:21.000Z","size":22173,"stargazers_count":41,"open_issues_count":12,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-27T08:08:12.353Z","etag":null,"topics":["league-of-legends","openapi-specification","riot-games-api","swagger"],"latest_commit_sha":null,"homepage":"http://www.mingweisamuel.com/riotapi-schema/tool/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MingweiSamuel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-26T05:35:04.000Z","updated_at":"2024-11-04T06:18:27.000Z","dependencies_parsed_at":"2023-10-11T03:36:20.209Z","dependency_job_id":"2a7973eb-0cab-49b3-86e4-e2e4689d7656","html_url":"https://github.com/MingweiSamuel/riotapi-schema","commit_stats":{"total_commits":376,"total_committers":11,"mean_commits":34.18181818181818,"dds":"0.16489361702127658","last_synced_commit":"3c0dc44f818928ab56a8b2dcc2a0cc854729d728"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MingweiSamuel%2Friotapi-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MingweiSamuel%2Friotapi-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MingweiSamuel%2Friotapi-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MingweiSamuel%2Friotapi-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MingweiSamuel","download_url":"https://codeload.github.com/MingweiSamuel/riotapi-schema/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231455919,"owners_count":18379383,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["league-of-legends","openapi-specification","riot-games-api","swagger"],"created_at":"2024-09-25T10:40:57.977Z","updated_at":"2025-10-26T05:09:49.533Z","avatar_url":"https://github.com/MingweiSamuel.png","language":"JavaScript","readme":"# [riotapi-schema](http://www.mingweisamuel.com/riotapi-schema/tool/)\n\nOpenAPI/Swagger Schema of the Riot Games API\n\nAutomatically generated daily from the [Riot Games API Reference](https://developer.riotgames.com/api-methods/)\n\n## Quirks/Hacks\n\nThe RG API Reference has many quirks and often has small errors or missing\nDTO specs. This project contains many hacks to deal with them which are worth\nknowing if you plan to use the generated schemas.\n\nMissing DTOs for the latest version are stored in [this JSON file](http://www.mingweisamuel.com/riotapi-schema/missing.json).\n\n#### Manual overrides, additional fields, fields marked optional, etc.\n\nSee [`src/data/README.md`](https://github.com/MingweiSamuel/riotapi-schema/tree/master/src/data#readme).\n\n#### \"DTO borrowing\"\n\nIf a DTO is missing from one endpoint, it may be possible to find it in another\nendpoint. Which endpoints can \"borrow\" from which other endpoints are listed in\n`src/data/endpointSharedDtos.jsonc`. The file is updated as needed.\n\n#### `x-platforms-available`\n\n`x-platforms-available` is listed per path specifying which platforms are\navailable. This only differs for the `tournament-v5` and `tournament-stub-v5`\nendpoints. Overrides are in `src/data/endpointPlatformsAvailableOverrides.jsonc`.\n\n#### `tournament` Endpoints (`tournament-stub-v4` and `tournament-v4`)\n\nThese endpoints share all the same DTOs. However, they each have a copy of each\nDTO, so there is duplicate data. This also means if you are generating classes\nfrom these endpoints, there will be duplicate issues.\n\n*TODO* ~~Because these endpoints are closely connected, both of their DTOs\nare included under `tournament-v4`. This way there aren't duplicate copies of\ntournament DTOs. This behavior is specified by `src/data/mockEndpoints.json`.~~\n\n### Old Quirks\n\nQuirks that may no longer be relevant.\n\n#### `league-v3`'s `LeagueItemDTO` and `LeaguePositionDTO`\n\nThis spec combines `LeagueItemDTO` and `LeaguePositionDTO` under the later name.\nThis was a questionable choice because it results in fields with `null` values\nthat users might expect to be filled in (when parsing a `LeagueItemDTO`).\nThis behavior is removed for `league-v4`.\n\n#### `static-data`'s DTO type overrides.\n\nStatic data had some DTO fields that could\nbe multiple different types as specified in their description. These were\noverridden using the dict in `src/data/dtoDescriptionTypeOverrides.jsonc`\nBecause the static data endpoints are removed, this is no longer an issue.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmingweisamuel%2Friotapi-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmingweisamuel%2Friotapi-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmingweisamuel%2Friotapi-schema/lists"}