Added Swagger

This commit is contained in:
2020-06-10 08:25:21 +02:00
parent 5c6f37eaf7
commit af76cbca87
257 changed files with 48861 additions and 12 deletions
@@ -0,0 +1,15 @@
export default function(system) {
return {
rootInjects: {
getEditorMetadata() {
const allErrors = system.errSelectors.allErrors()
return {
contentString: system.specSelectors.specStr(),
contentObject: system.specSelectors.specJson().toJS(),
isValid: allErrors.size === 0,
errors: allErrors.toJS()
}
}
}
}
}