Skip to content

Commit 273437b

Browse files
Added specificationVersion to validate method output
1 parent 0e5b2f2 commit 273437b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/schemapack.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ class SchemaPack {
142142
this.openapi = specParseResult.openapi;
143143
this.validated = true;
144144
this.validationResult = {
145-
result: true
145+
result: true,
146+
specificationVersion: concreteUtils.version
146147
};
147148
return this.validationResult;
148149
}

0 commit comments

Comments
 (0)