Fix registered paths
@@ -61,7 +61,8 @@ def setup_app(config={}):
spec = spec_loader.load_spec('st2common', 'openapi.yaml.j2')
transforms = {
- '^/api/v1/': ['/', '/v1/', '/v1'],
+ '^/api/v1/$': ['/v1'],
+ '^/api/v1/': ['/', '/v1/'],
'^/api/v1/executions': ['/actionexecutions', '/v1/actionexecutions'],
'^/api/exp/': ['/exp/']
}
