Removed trailing slash from API URLs
This commit is contained in:
@@ -71,7 +71,7 @@ class FilamentUpdateParameters(FilamentParameters):
|
|||||||
|
|
||||||
|
|
||||||
@router.get(
|
@router.get(
|
||||||
"/",
|
"",
|
||||||
name="Find filaments",
|
name="Find filaments",
|
||||||
description="Get a list of filaments that matches the search query.",
|
description="Get a list of filaments that matches the search query.",
|
||||||
response_model_exclude_none=True,
|
response_model_exclude_none=True,
|
||||||
@@ -131,7 +131,7 @@ async def get(
|
|||||||
|
|
||||||
|
|
||||||
@router.post(
|
@router.post(
|
||||||
"/",
|
"",
|
||||||
name="Add filament",
|
name="Add filament",
|
||||||
description="Add a new filament to the database.",
|
description="Add a new filament to the database.",
|
||||||
response_model_exclude_none=True,
|
response_model_exclude_none=True,
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ class SpoolUseParameters(BaseModel):
|
|||||||
|
|
||||||
|
|
||||||
@router.get(
|
@router.get(
|
||||||
"/",
|
"",
|
||||||
name="Find spool",
|
name="Find spool",
|
||||||
description="Get a list of spools that matches the search query.",
|
description="Get a list of spools that matches the search query.",
|
||||||
response_model_exclude_none=True,
|
response_model_exclude_none=True,
|
||||||
@@ -133,7 +133,7 @@ async def get(
|
|||||||
|
|
||||||
|
|
||||||
@router.post(
|
@router.post(
|
||||||
"/",
|
"",
|
||||||
name="Add spool",
|
name="Add spool",
|
||||||
description=(
|
description=(
|
||||||
"Add a new spool to the database. "
|
"Add a new spool to the database. "
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ class VendorUpdateParameters(VendorParameters):
|
|||||||
|
|
||||||
|
|
||||||
@router.get(
|
@router.get(
|
||||||
"/",
|
"",
|
||||||
name="Find vendor",
|
name="Find vendor",
|
||||||
description="Get a list of vendors that matches the search query.",
|
description="Get a list of vendors that matches the search query.",
|
||||||
response_model_exclude_none=True,
|
response_model_exclude_none=True,
|
||||||
@@ -74,7 +74,7 @@ async def get(
|
|||||||
|
|
||||||
|
|
||||||
@router.post(
|
@router.post(
|
||||||
"/",
|
"",
|
||||||
name="Add vendor",
|
name="Add vendor",
|
||||||
description="Add a new vendor to the database.",
|
description="Add a new vendor to the database.",
|
||||||
response_model_exclude_none=True,
|
response_model_exclude_none=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user