From 86dd0b393587999ec0eaa16ef78eaeb92bd615f4 Mon Sep 17 00:00:00 2001 From: Cyril Galibern Date: Fri, 13 Feb 2026 11:46:28 +0100 Subject: [PATCH] rollback Bump GitHub webhook receiver version to 0.2.2 and add server URL definition ## Traceback (most recent call last): File "app.py", line 33, in main() File "app.py", line 26, in main app.add_api(api, arguments={'branches': branches, 'release_branches': release_branches}) File "/usr/local/lib/python3.8/site-packages/connexion/apps/flask_app.py", line 58, in add_api self.app.register_blueprint(api.blueprint) File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 98, in wrapper_func return f(self, *args, **kwargs) File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1167, in register_blueprint blueprint.register(self, options, first_registration) File "/usr/local/lib/python3.8/site-packages/flask/blueprints.py", line 256, in register deferred(state) File "/usr/local/lib/python3.8/site-packages/flask/blueprints.py", line 294, in self.record(lambda s: s.add_url_rule(rule, endpoint, view_func, **options)) File "/usr/local/lib/python3.8/site-packages/flask/blueprints.py", line 81, in add_url_rule self.app.add_url_rule( File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 98, in wrapper_func return f(self, *args, **kwargs) File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1274, in add_url_rule rule = self.url_rule_class(rule, methods=methods, **options) File "/usr/local/lib/python3.8/site-packages/werkzeug/routing.py", line 666, in __init__ raise ValueError("urls must start with a leading slash") ValueError: urls must start with a leading slash --- src/swagger/github.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/swagger/github.yaml b/src/swagger/github.yaml index 74ae681..d9c4fc2 100644 --- a/src/swagger/github.yaml +++ b/src/swagger/github.yaml @@ -1,10 +1,7 @@ openapi: "3.0.0" info: title: github webhook receiver - version: 0.2.2 - -servers: - - url: ./ + version: 0.2.3 paths: /pullrequest: