Skip to content

Commit 5b6a6d6

Browse files
committed
spec has been deprecated, use struct
1 parent 6acfdfc commit 5b6a6d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/definitionGenerator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class DefinitionGenerator {
8181
this.REDOCLY_RULES = require(path.resolve("options", "redocly.json"));
8282
} catch (err) {
8383
this.REDOCLY_RULES = {
84-
spec: "error",
84+
struct: "error",
8585
"path-parameters-defined": "error",
8686
"operation-2xx-response": "error",
8787
"operation-4xx-response": "error",

test/helpers/redocly.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec": "error",
2+
"struct": "error",
33
"operation-2xx-response": "warn"
44
}

0 commit comments

Comments
 (0)