Fixed carpool OpenAPI examples
Some checks reported errors
Amarillo/amarillo-gitea/amarillo-core/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
Amarillo/amarillo-gitea/amarillo-core/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
4d909ee62c
commit
ebbbf28432
|
|
@ -30,7 +30,7 @@ router = APIRouter(
|
|||
"description": "Agency does not exist"},
|
||||
|
||||
})
|
||||
async def post_carpool(carpool: Carpool = Body(..., examples=examples),
|
||||
async def post_carpool(carpool: Carpool = Body(..., openapi_examples=examples),
|
||||
requesting_agency_id: str = Depends(verify_api_key)) -> Carpool:
|
||||
await verify_permission_for_same_agency_or_admin(carpool.agency, requesting_agency_id)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "amarillo-core"
|
||||
version = "0.0.13"
|
||||
version = "0.0.14"
|
||||
dependencies = [
|
||||
"fastapi[all]==0.104.0",
|
||||
"geopandas==0.14",
|
||||
|
|
|
|||
Loading…
Reference in a new issue