mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
Add default version to response
Add default version to response
This commit is contained in:
committed by
Erik Mendoza
parent
e98d8af870
commit
0b03a26d1c
@@ -4825,6 +4825,9 @@ module.exports = {
|
||||
* @returns {object} - Detect root files result object
|
||||
*/
|
||||
mapGetRootFilesOutputToDetectRootFilesOutput(output, version) {
|
||||
if (!version) {
|
||||
version = '3.0.0';
|
||||
}
|
||||
let adaptedData = output.map((file) => {
|
||||
return { path: file };
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user