mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 21:44:21 +00:00
26 lines
444 B
Text
26 lines
444 B
Text
|
import royalnet.constellation.api as rca
|
||
|
import royalnet.utils as ru
|
||
|
|
||
|
|
||
|
#set($CAPITALIZED_NAME = $NAME.substring(0,1).toUpperCase() + $NAME.substring(1))
|
||
|
class ${CAPITALIZED_NAME}Star(rca.ApiStar):
|
||
|
summary = "$SUMMARY"
|
||
|
|
||
|
description = ""
|
||
|
|
||
|
methods = ["GET"]
|
||
|
|
||
|
path = "$PATH"
|
||
|
|
||
|
requires_auth = False
|
||
|
|
||
|
parameters = {}
|
||
|
|
||
|
tags = ["$TAG"]
|
||
|
|
||
|
async def api(self, data: rca.ApiData) -> ru.JSON:
|
||
|
|
||
|
...
|
||
|
|
||
|
return {}
|