mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
publish: 5.10.1
This commit is contained in:
parent
b44fcc4bf4
commit
a2bb376279
3 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "royalnet"
|
name = "royalnet"
|
||||||
version = "5.10.0"
|
version = "5.10.1"
|
||||||
description = "A multipurpose bot and web framework"
|
description = "A multipurpose bot and web framework"
|
||||||
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
|
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
|
||||||
license = "AGPL-3.0+"
|
license = "AGPL-3.0+"
|
||||||
|
|
|
@ -127,6 +127,8 @@ class ApiStar(PageStar, ABC):
|
||||||
"""Generate one or more swagger paths for this ApiStar."""
|
"""Generate one or more swagger paths for this ApiStar."""
|
||||||
result = {}
|
result = {}
|
||||||
for method in self.methods():
|
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()))
|
result[method.lower()] = self.__swagger_for_a_method(self.__getattribute__(method.lower()))
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
semantic = "5.10.0"
|
semantic = "5.10.1"
|
||||||
|
|
Loading…
Reference in a new issue