Trying to split up router functions...
This commit is contained in:
@@ -200,8 +200,8 @@ router = APIRouter()
|
||||
@router.get('/{obj_type_l1}/{obj_type_l2}/{obj_type_l3}/list')
|
||||
async def get_obj_li(
|
||||
obj_type_l1: str = Path(min_length=2, max_length=50),
|
||||
obj_type_l2: str = Path(min_length=2, max_length=50),
|
||||
obj_type_l3: str = Path(min_length=2, max_length=50),
|
||||
obj_type_l2: Optional[str] = Path(min_length=2, max_length=50),
|
||||
obj_type_l3: Optional[str] = Path(min_length=2, max_length=50),
|
||||
|
||||
for_obj_type: Optional[str] = Query(None, max_length=50),
|
||||
for_obj_id: Optional[str] = Query(None, max_length=22),
|
||||
|
||||
Reference in New Issue
Block a user