-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroot.yaml
47 lines (44 loc) · 1.27 KB
/
root.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
openapi: "3.0.2"
info:
title: Lol Esports Api
version: "0.1.0"
description: "League of Legends Esports API"
externalDocs:
url: https://mckernant1.github.io/lol-openapi/
servers:
- url: https://api.lol-esports.mckernant1.com
paths:
/tournaments/{leagueId}:
$ref: './paths/tournaments.yaml'
/tournament/{tournamentId}:
$ref: './paths/tournament_single.yaml'
/ongoing-tournaments:
$ref: './paths/ongoing_tourneys.yaml'
/matches/{tournamentId}:
$ref: './paths/matches.yaml'
/leagues:
$ref: './paths/leagues.yaml'
/leagues/{leagueId}:
$ref: './paths/league_single.yaml'
/players/{teamId}:
$ref: './paths/players_on_team.yaml'
/teams:
$ref: './paths/teams.yaml'
/teams/{teamId}:
$ref: './paths/team_single.yaml'
/most-recent-tournament/{leagueId}:
$ref: './paths/most_recent_tournament.yaml'
components:
schemas:
Tournament:
$ref: './components/schemas/ddb/models/tournament.yaml#/Tournament'
League:
$ref: './components/schemas/ddb/models/league.yaml#/League'
Game:
$ref: './components/schemas/ddb/models/match.yaml#/Match'
Player:
$ref: './components/schemas/ddb/models/player.yaml#/Player'
Team:
$ref: './components/schemas/ddb/models/team.yaml#/Team'
security:
- ApiKeyAuth: []