Skip to content

Commit 4ceeeb0

Browse files
authored
fix: update api spec and linting (#87)
1 parent d68ec46 commit 4ceeeb0

Some content is hidden

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

53 files changed

+1078
-847
lines changed

openapi/components/schemas/alert.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ properties:
44
allOf:
55
- $ref: ./mission.yaml
66
- description: Mission to be completed to earn the reward
7-
expired:
8-
type: boolean
9-
eta:
10-
$ref: ./eta.yaml
117
rewardTypes:
128
type: array
139
items:

openapi/components/schemas/archonHunt.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
allOf:
22
- $ref: ./worldstateObject.yaml
33
- required:
4-
- activation
54
- boss
6-
- eta
7-
- expired
8-
- expiry
95
- faction
10-
- id
116
- rewardPool
127
- missions
138
type: object
@@ -32,8 +27,3 @@ allOf:
3227
allOf:
3328
- $ref: ./faction.yaml
3429
- description: Unlocalized Faction of the boss controlling the archon hunt
35-
expired:
36-
type: boolean
37-
eta:
38-
minLength: 1
39-
type: string

openapi/components/schemas/cambionCycle.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,3 @@ properties:
2323
enum:
2424
- vome
2525
- fass
26-
timeLeft:
27-
minLength: 1
28-
type: string

openapi/components/schemas/cetusCycle.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
allOf:
22
- $ref: ./worldstateObject.yaml
33
- required:
4-
- expiry
54
- isCetus
65
- isDay
76
- timeLeft

openapi/components/schemas/conclaveChallenges.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@ type: array
33
items:
44
required:
55
- amount
6-
- asString
76
- category
87
- daily
98
- description
10-
- endString
11-
- eta
12-
- expired
139
- expiry
1410
- id
1511
- mode
@@ -21,14 +17,6 @@ items:
2117
type: string
2218
amount:
2319
type: number
24-
eta:
25-
minLength: 1
26-
type: string
27-
expired:
28-
type: boolean
29-
endString:
30-
minLength: 1
31-
type: string
3220
daily:
3321
type: boolean
3422
description:
@@ -40,9 +28,6 @@ items:
4028
expiry:
4129
minLength: 1
4230
type: string
43-
asString:
44-
minLength: 1
45-
type: string
4631
category:
4732
minLength: 1
4833
type: string

openapi/components/schemas/darkSectors.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ minItems: 1
22
type: array
33
items:
44
required:
5-
- defenderDeployemntActivation
5+
- defenderDeploymentActivation
66
- defenderMOTD
77
- defenderName
88
- deployerClan

openapi/components/schemas/earthCycle.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
allOf:
22
- $ref: ./worldstateObject.yaml
33
- required:
4-
- expiry
5-
- id
64
- isDay
75
- timeLeft
86
type: object

openapi/components/schemas/fissure.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
type: object
22
required:
3-
- activation
43
- enemy
5-
- eta
6-
- expired
7-
- expiry
8-
- id
94
- missionType
105
- node
116
- tier
@@ -15,11 +10,6 @@ properties:
1510
minLength: 1
1611
type: string
1712
description: Node name with planet
18-
expired:
19-
type: boolean
20-
description: Whether the fissure is still present
21-
eta:
22-
$ref: ./eta.yaml
2313
missionType:
2414
allOf:
2515
- $ref: ./missionType.yaml

openapi/components/schemas/flashSales.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ allOf:
44
items:
55
required:
66
- discount
7-
- eta
87
- isFeatured
98
- isPopular
109
- item
@@ -14,11 +13,6 @@ allOf:
1413
item:
1514
minLength: 1
1615
type: string
17-
expired:
18-
type: boolean
19-
eta:
20-
minLength: 1
21-
type: string
2216
discount:
2317
type: number
2418
premiumOverride:

openapi/components/schemas/globalUpgrades.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ items:
1717
upgradeOperationValue:
1818
description: Value corresponding to performing the operation
1919
type: number
20-
expired:
21-
description: Whether the upgrade has expired
22-
type: boolean
2320
eta:
2421
description: Formatted short string designating when the upgrade will expire.
2522
type: string

0 commit comments

Comments
 (0)