Lots of changes to get to FastAPI 95.1
This commit is contained in:
@@ -115,7 +115,7 @@ async def post_organization_json(
|
||||
@router.patch('/{organization_id}/json', response_model=Resp_Body_Base)
|
||||
async def patch_organization_json(
|
||||
organization_obj: Organization_Base,
|
||||
organization_id: str = Query(..., min_length=1, max_length=22),
|
||||
organization_id: str = Path(min_length=11, max_length=22),
|
||||
process_contact: bool = False,
|
||||
x_account_id: Optional[str] = Header(..., ),
|
||||
return_obj: Optional[bool] = True,
|
||||
@@ -174,7 +174,7 @@ async def get_organization_obj_li(
|
||||
|
||||
@router.get('/{organization_id}', response_model=Resp_Body_Base)
|
||||
async def get_organization_obj(
|
||||
organization_id: str = Query(..., min_length=1, max_length=22),
|
||||
organization_id: str = Path(min_length=11, max_length=22),
|
||||
inc_address: bool = False,
|
||||
inc_contact: bool = False,
|
||||
x_account_id: str = Header(...),
|
||||
|
||||
Reference in New Issue
Block a user