Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions packit_service/service/api/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def get(self):
return resp


@ns.route("/<forge>/<namespace>/<repo_name>")
@ns.route("/<forge>/<path:namespace>/<repo_name>")
@ns.param("forge", "Git Forge")
@ns.param("namespace", "Namespace")
@ns.param("repo_name", "Repo Name")
Expand Down Expand Up @@ -108,7 +108,7 @@ def get(self, forge):
return resp


@ns.route("/<forge>/<namespace>")
@ns.route("/<forge>/<path:namespace>")
@ns.param("forge", "Git Forge")
@ns.param("namespace", "Namespace")
class ProjectsNamespace(Resource):
Expand Down Expand Up @@ -144,7 +144,7 @@ def get(self, forge, namespace):
return resp


@ns.route("/<forge>/<namespace>/<repo_name>/prs")
@ns.route("/<forge>/<path:namespace>/<repo_name>/prs")
@ns.param("forge", "Git Forge")
@ns.param("namespace", "Namespace")
@ns.param("repo_name", "Repo Name")
Expand Down Expand Up @@ -222,7 +222,7 @@ def get(self, forge, namespace, repo_name):
return resp


@ns.route("/<forge>/<namespace>/<repo_name>/issues")
@ns.route("/<forge>/<path:namespace>/<repo_name>/issues")
@ns.param("forge", "Git Forge")
@ns.param("namespace", "Namespace")
@ns.param("repo_name", "Repo Name")
Expand Down Expand Up @@ -256,7 +256,7 @@ def get(self, forge, namespace, repo_name):
return resp


@ns.route("/<forge>/<namespace>/<repo_name>/releases")
@ns.route("/<forge>/<path:namespace>/<repo_name>/releases")
@ns.param("forge", "Git Forge")
@ns.param("namespace", "Namespace")
@ns.param("repo_name", "Repo Name")
Expand Down Expand Up @@ -293,7 +293,7 @@ def get(self, forge, namespace, repo_name):
return resp


@ns.route("/<forge>/<namespace>/<repo_name>/branches")
@ns.route("/<forge>/<path:namespace>/<repo_name>/branches")
@ns.param("forge", "Git Forge")
@ns.param("namespace", "Namespace")
@ns.param("repo_name", "Repo Name")
Expand Down
2 changes: 1 addition & 1 deletion packit_service/service/api/usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def get(self):
return response_maker(result)


@usage_ns.route("/project/<forge>/<namespace>/<repo_name>")
@usage_ns.route("/project/<forge>/<path:namespace>/<repo_name>")
@usage_ns.param("forge", "Git Forge")
@usage_ns.param("namespace", "Namespace")
@usage_ns.param("repo_name", "Repo Name")
Expand Down
Loading