We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07323e0 commit e329d9aCopy full SHA for e329d9a
lib/specs/spec_0_3.js
@@ -35,7 +35,7 @@ const isValidAgainstSchema = ajv.compile(schema);
35
36
function Spec03(_caller) {
37
this.payload = {
38
- specversion: "0.3",
+ specversion: schema.definitions.specversion.const,
39
id: uuidv4()
40
};
41
lib/specs/spec_1.js
@@ -37,7 +37,7 @@ const isValidAgainstSchema = ajv.compile(schema);
function Spec1(_caller) {
- specversion: "1.0",
42
43
0 commit comments