Skip to content

Commit 3a50e5c

Browse files
committed
Update Spectral
1 parent a2ffeea commit 3a50e5c

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

.spectral.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,6 @@ rules:
1717
contact-properties: true
1818
tag-description: true
1919
oas3-parameter-description: true
20-
duplicated-entry-in-enum: # Broken: https://github.com/stoplightio/spectral/issues/1571
21-
description: Enum values should not have duplicate entry.
22-
type: validation
23-
severity: warn
24-
recommended: true
25-
message: 'A duplicated entry in the enum was found. Error: {{error}}'
26-
given: "$..enum"
27-
then:
28-
function: schema
29-
functionOptions:
30-
schema:
31-
oneOf:
32-
- type: array
33-
uniqueItems: true
34-
- not:
35-
type: array
3620
oas3-unused-components-schema: false # Broken: https://github.com/stoplightio/spectral/issues/1271
3721
operation-summary-formatted:
3822
description: Operation `summary` should start with upper case and not end with a dot.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"url": "git+https://github.com/Open-EO/openeo-api.git"
1414
},
1515
"devDependencies": {
16-
"@stoplight/spectral": "^5.8.0",
16+
"@stoplight/spectral": "^5.9.1",
1717
"redoc-cli": "0.10.1"
1818
},
1919
"scripts": {

0 commit comments

Comments
 (0)