diff --git a/pyproject.toml b/pyproject.toml index 237a623f..79f5468f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ [tool.poetry] name = "royalnet" - version = "5.10.0" + version = "5.10.1" description = "A multipurpose bot and web framework" authors = ["Stefano Pigozzi "] license = "AGPL-3.0+" diff --git a/royalnet/constellation/api/apistar.py b/royalnet/constellation/api/apistar.py index 5b283a69..2119ea38 100644 --- a/royalnet/constellation/api/apistar.py +++ b/royalnet/constellation/api/apistar.py @@ -127,6 +127,8 @@ class ApiStar(PageStar, ABC): """Generate one or more swagger paths for this ApiStar.""" result = {} for method in self.methods(): + if method not in ["get", "post", "put", "delete"]: + continue result[method.lower()] = self.__swagger_for_a_method(self.__getattribute__(method.lower())) return result diff --git a/royalnet/version.py b/royalnet/version.py index 1d7bdf7b..30bea753 100644 --- a/royalnet/version.py +++ b/royalnet/version.py @@ -1 +1 @@ -semantic = "5.10.0" +semantic = "5.10.1"