does not produce the doc for this end point
kporika opened this issue · comments
@doc.consumes({'Authorization': str}, location='header')
@Scoped('admin')
@doc.consumes(
{"view":
{
"username": str,
"password" :str,
"email" : str,
"first_name": str,
"last_name" : str,
"is_superuser" : bool
}
},
location="body")
async def add_user(request):
sanic==20.12.1
sanic-jwt==1.6.0
sanic-openapi==0.6.2
on python3.9
Please put code tags around the code so that your issue displays better
It's because you're using a decorator @Scoped, and everything after that gets out of doc. I'm facing the same problem.