Update output of metaData function, info.title is the name of the spec

This commit is contained in:
umeshp7
2020-04-20 14:15:14 +05:30
parent 90c555ab58
commit 29c0d8ec4e

View File

@@ -172,7 +172,7 @@ class SchemaPack {
result: true,
output: [{
type: 'collection',
data: _.get(openapi, 'info.title', COLLECTION_NAME)
name: _.get(openapi, 'info.title', COLLECTION_NAME)
}]
};
}