Open kickIDnoah opened 1 year ago
Your function names cannot be repeated.
@cbv(router)
class CBV:
@router.post("/test")
def test_post(self):
return ''
@router.get("/test/{uuid}")
def test_get(self, uuid: UUID4):
return uuid
While using the @cbv i encountered the problem that i couldn't use the endpoint without path params on a similar path. It somehow messes with the validator, i think?
output:
Expected behavior both endpoints should be just available
Environment: