1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

publish: 5.10.1

This commit is contained in:
Steffo 2020-06-26 17:01:28 +02:00
parent b44fcc4bf4
commit a2bb376279
Signed by: steffo
GPG key ID: 896A80F55F7C97F0
3 changed files with 4 additions and 2 deletions

View file

@ -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 <ste.pigozzi@gmail.com>"]
license = "AGPL-3.0+"

View file

@ -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

View file

@ -1 +1 @@
semantic = "5.10.0"
semantic = "5.10.1"