A Migration tool for old Tree Gateway configurations.
npm install -g tree-gateway-migrationAnd run the treeGatewayMigration command pointing to your old configuration files.
To convert all API yaml files under a specific folder run:
treeGatewayMigration --from 2 --to 3 --api ./myfolder/**/*.yamlTo convert the config files for the gateway, run:
treeGatewayMigration --from 2 --to 3 --gateway ./gateway.yamlThis tool supports, at the moment, only migrations between version 2 to 3.