Skip to content

Commit fb0c902

Browse files
committed
Swagger updates
1 parent ba24043 commit fb0c902

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+1023
-1024
lines changed

src/swagger/api-spec/openapi.json

Lines changed: 266 additions & 266 deletions
Large diffs are not rendered by default.

src/swagger/api-spec/openapi.yml

Lines changed: 278 additions & 278 deletions
Large diffs are not rendered by default.

src/swagger/parameters/path/equipment.yml renamed to src/swagger/parameters/2014/path/equipment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ required: true
44
description: |
55
The `index` of the equipment to get.
66
7-
Available values can be found in the [`ResourceList`](#get-/api/-endpoint-) for `equipment`.
7+
Available values can be found in the [`ResourceList`](#get-/api/2014/-endpoint-) for `equipment`.
88
schema:
99
type: string
1010
example: club

src/swagger/parameters/path/features.yml renamed to src/swagger/parameters/2014/path/features.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ required: true
44
description: |
55
The `index` of the feature to get.
66
7-
Available values can be found in the [`ResourceList`](#get-/api/-endpoint-) for `features`.
7+
Available values can be found in the [`ResourceList`](#get-/api/2014/-endpoint-) for `features`.
88
schema:
99
type: string
1010
example: action-surge-1-use

src/swagger/parameters/path/proficiencies.yml renamed to src/swagger/parameters/2014/path/proficiencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ required: true
44
description: |
55
The `index` of the proficiency to get.
66
7-
Available values can be found in the [`ResourceList`](#get-/api/-endpoint-) for `proficiencies`.
7+
Available values can be found in the [`ResourceList`](#get-/api/2014/-endpoint-) for `proficiencies`.
88
schema:
99
type: string
1010
example: medium-armor

src/swagger/parameters/path/spells.yml renamed to src/swagger/parameters/2014/path/spells.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ required: true
44
description: |
55
The `index` of the `Spell` to get.
66
7-
Available values can be found in the [`ResourceList`](#get-/api/-endpoint-) for `spells`.
7+
Available values can be found in the [`ResourceList`](#get-/api/2014/-endpoint-) for `spells`.
88
schema:
99
type: string
1010
example: sacred-flame

src/swagger/parameters/2024/.keepme

Whitespace-only changes.

src/swagger/paths/ability-scores.yml renamed to src/swagger/paths/2014/ability-scores.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ get:
77
tags:
88
- Character Data
99
parameters:
10-
- $ref: "../parameters/combined.yml#/ability-score-index"
10+
- $ref: "../../parameters/2014/combined.yml#/ability-score-index"
1111
responses:
1212
"200":
1313
description: OK
1414
content:
1515
application/json:
1616
schema:
17-
$ref: "../schemas/combined.yml#/AbilityScore"
17+
$ref: "../../schemas/2014/combined.yml#/AbilityScore"
1818
example:
1919
index: "cha"
2020
name: "CHA"
21-
url: "/api/ability-scores/cha"
21+
url: "/api/2014/ability-scores/cha"
2222
desc:
2323
[
2424
"Charisma measures your ability to interact effectively with others. It includes such factors as confidence and eloquence, and it can represent a charming or commanding personality.",
@@ -28,13 +28,13 @@ get:
2828
skills:
2929
- index: "deception"
3030
name: "Deception"
31-
url: "/api/skills/deception"
31+
url: "/api/2014/skills/deception"
3232
- index: "intimidation"
3333
name: "Intimidation"
34-
url: "/api/skills/intimidation"
34+
url: "/api/2014/skills/intimidation"
3535
- index: "performance"
3636
name: "Performance"
37-
url: "/api/skills/performance"
37+
url: "/api/2014/skills/performance"
3838
- index: "persuasion"
3939
name: "Persuasion"
40-
url: "/api/skills/persuasion"
40+
url: "/api/2014/skills/persuasion"

src/swagger/paths/alignments.yml renamed to src/swagger/paths/2014/alignments.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ get:
77
tags:
88
- Character Data
99
parameters:
10-
- $ref: "../parameters/combined.yml#/alignment-index"
10+
- $ref: "../../parameters/2014/combined.yml#/alignment-index"
1111
responses:
1212
"200":
1313
description: "OK"
1414
content:
1515
application/json:
1616
schema:
17-
$ref: "../schemas/combined.yml#/Alignment"
17+
$ref: "../../schemas/2014/combined.yml#/Alignment"
1818
example:
1919
index: chaotic-neutral
2020
name: Chaotic Neutral
21-
url: "/api/alignments/chaotic-neutral"
21+
url: "/api/2014/alignments/chaotic-neutral"
2222
desc: Chaotic neutral (CN) creatures follow their whims, holding their personal freedom above all else. Many barbarians and rogues, and some bards, are chaotic neutral.
2323
abbreviation: CN

src/swagger/paths/backgrounds.yml renamed to src/swagger/paths/2014/backgrounds.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -9,40 +9,40 @@ get:
99
tags:
1010
- Character Data
1111
parameters:
12-
- $ref: '../parameters/combined.yml#/background-index'
12+
- $ref: '../../parameters/2014/combined.yml#/background-index'
1313
responses:
1414
'200':
1515
description: OK
1616
content:
1717
application/json:
1818
schema:
19-
$ref: '../schemas/combined.yml#/Background'
19+
$ref: '../../schemas/2014/combined.yml#/Background'
2020
example:
2121
index: acolyte
2222
name: Acolyte
2323
starting_proficiencies:
2424
- index: skill-insight
2525
name: 'Skill: Insight'
26-
url: '/api/proficiencies/skill-insight'
26+
url: '/api/2014/proficiencies/skill-insight'
2727
- index: skill-religion
2828
name: 'Skill: Religion'
29-
url: '/api/proficiencies/skill-religion'
29+
url: '/api/2014/proficiencies/skill-religion'
3030
language_options:
3131
choose: 2
3232
type: languages
3333
from:
3434
option_set_type: resource_list
35-
resource_list_url: '/api/languages'
35+
resource_list_url: '/api/2014/languages'
3636
starting_equipment:
3737
- equipment:
3838
index: clothes-common
3939
name: Clothes, common
40-
url: '/api/equipment/clothes-common'
40+
url: '/api/2014/equipment/clothes-common'
4141
quantity: 1
4242
- equipment:
4343
index: pouch
4444
name: Pouch
45-
url: '/api/equipment/pouch'
45+
url: '/api/2014/equipment/pouch'
4646
quantity: 1
4747
starting_equipment_options:
4848
- choose: 1
@@ -52,7 +52,7 @@ get:
5252
equipment_category:
5353
index: holy-symbols
5454
name: Holy Symbols
55-
url: '/api/equipment-categories/holy-symbols'
55+
url: '/api/2014/equipment-categories/holy-symbols'
5656
feature:
5757
name: Shelter of the Faithful
5858
desc:
@@ -101,91 +101,91 @@ get:
101101
alignments:
102102
- index: lawful-good
103103
name: Lawful Good
104-
url: '/api/alignments/lawful-good'
104+
url: '/api/2014/alignments/lawful-good'
105105
- index: lawful-neutral
106106
name: Lawful Neutral
107-
url: '/api/alignments/lawful-neutral'
107+
url: '/api/2014/alignments/lawful-neutral'
108108
- index: lawful-evil
109109
name: Lawful Evil
110-
url: '/api/alignments/lawful-evil'
110+
url: '/api/2014/alignments/lawful-evil'
111111
- option_type: ideal
112112
desc: Charity. I always try to help those in need, no matter what the personal cost.
113113
alignments:
114114
- index: lawful-good
115115
name: Lawful Good
116-
url: '/api/alignments/lawful-good'
116+
url: '/api/2014/alignments/lawful-good'
117117
- index: neutral-good
118118
name: Neutral Good
119-
url: '/api/alignments/neutral-good'
119+
url: '/api/2014/alignments/neutral-good'
120120
- index: chaotic-good
121121
name: Chaotic Good
122-
url: '/api/alignments/chaotic-good'
122+
url: '/api/2014/alignments/chaotic-good'
123123
- option_type: ideal
124124
desc: Change. We must help bring about the changes the gods are constantly working in the world.
125125
alignments:
126126
- index: chaotic-good
127127
name: Chaotic Good
128-
url: '/api/alignments/chaotic-good'
128+
url: '/api/2014/alignments/chaotic-good'
129129
- index: chaotic-neutral
130130
name: Chaotic Neutral
131-
url: '/api/alignments/chaotic-neutral'
131+
url: '/api/2014/alignments/chaotic-neutral'
132132
- index: chaotic-evil
133133
name: Chaotic Evil
134-
url: '/api/alignments/chaotic-evil'
134+
url: '/api/2014/alignments/chaotic-evil'
135135
- option_type: ideal
136136
desc: Power. I hope to one day rise to the top of my faith's religious hierarchy.
137137
alignments:
138138
- index: lawful-good
139139
name: Lawful Good
140-
url: '/api/alignments/lawful-good'
140+
url: '/api/2014/alignments/lawful-good'
141141
- index: lawful-neutral
142142
name: Lawful Neutral
143-
url: '/api/alignments/lawful-neutral'
143+
url: '/api/2014/alignments/lawful-neutral'
144144
- index: lawful-evil
145145
name: Lawful Evil
146-
url: '/api/alignments/lawful-evil'
146+
url: '/api/2014/alignments/lawful-evil'
147147
- option_type: ideal
148148
desc: Faith. I trust that my deity will guide my actions. I have faith that if I work hard, things will go well.
149149
alignments:
150150
- index: lawful-good
151151
name: Lawful Good
152-
url: '/api/alignments/lawful-good'
152+
url: '/api/2014/alignments/lawful-good'
153153
- index: lawful-neutral
154154
name: Lawful Neutral
155-
url: '/api/alignments/lawful-neutral'
155+
url: '/api/2014/alignments/lawful-neutral'
156156
- index: lawful-evil
157157
name: Lawful Evil
158-
url: '/api/alignments/lawful-evil'
158+
url: '/api/2014/alignments/lawful-evil'
159159
- option_type: ideal
160160
desc: Aspiration. I seek to prove myself worthy of my god's favor by matching my actions against his or her teachings.
161161
alignments:
162162
- index: lawful-good
163163
name: Lawful Good
164-
url: '/api/alignments/lawful-good'
164+
url: '/api/2014/alignments/lawful-good'
165165
- index: neutral-good
166166
name: Neutral Good
167-
url: '/api/alignments/neutral-good'
167+
url: '/api/2014/alignments/neutral-good'
168168
- index: chaotic-good
169169
name: Chaotic Good
170-
url: '/api/alignments/chaotic-good'
170+
url: '/api/2014/alignments/chaotic-good'
171171
- index: lawful-neutral
172172
name: Lawful Neutral
173-
url: '/api/alignments/lawful-neutral'
173+
url: '/api/2014/alignments/lawful-neutral'
174174
- index: neutral
175175
name: Neutral
176-
url: '/api/alignments/neutral'
176+
url: '/api/2014/alignments/neutral'
177177
- index: chaotic-neutral
178178
name: Chaotic Neutral
179-
url: '/api/alignments/chaotic-neutral'
179+
url: '/api/2014/alignments/chaotic-neutral'
180180
- index: lawful-evil
181181
name: Lawful Evil
182-
url: '/api/alignments/lawful-evil'
182+
url: '/api/2014/alignments/lawful-evil'
183183
- index: neutral-evil
184184
name: Neutral Evil
185-
url: '/api/alignments/neutral-evil'
185+
url: '/api/2014/alignments/neutral-evil'
186186
- index: chaotic-evil
187187
name: Chaotic Evil
188-
url: '/api/alignments/chaotic-evil'
188+
url: '/api/2014/alignments/chaotic-evil'
189189
bonds:
190190
choose: 1
191191
type: bonds
@@ -222,4 +222,4 @@ get:
222222
string: I am suspicious of strangers and expect the worst of them.
223223
- option_type: string
224224
string: Once I pick a goal, I become obsessed with it to the detriment of everything else in my life.
225-
url: '/api/backgrounds/acolyte'
225+
url: '/api/2014/backgrounds/acolyte'

0 commit comments

Comments
 (0)