Fix route transformation - previously hitting /api/v1 or /api/v1 didn't
correctly return RootController content.
@@ -60,7 +60,7 @@ def setup_app(config={}):
spec = spec_loader.load_spec('st2common', 'openapi.yaml.j2')
transforms = {
- '^/api/v1/': ['/', '/v1/'],
+ '^/api/v1/': ['/', '/v1/', '/v1'],
'^/api/v1/executions': ['/actionexecutions', '/v1/actionexecutions'],
'^/api/exp/': ['/exp/']
}
