1
0
Fork 0
forked from sr2/cloud-api

fix: remove trailing slash and plurals in paths

This commit is contained in:
Chris Milne 2026-06-11 16:14:22 +01:00
parent c74e895bf1
commit 1a6a6ad97d
9 changed files with 20 additions and 20 deletions

View file

@ -40,7 +40,7 @@ router = APIRouter(
@router.get(
"/",
"",
summary="Get all services",
status_code=status.HTTP_200_OK,
response_model=ServiceGetServiceResponse,
@ -82,7 +82,7 @@ async def get_all_services(
@router.post(
"/",
"",
summary="Register a new service.",
status_code=status.HTTP_200_OK,
response_model=ServicePostServiceResponse,
@ -148,7 +148,7 @@ async def regenerate_api_key(
@router.delete(
"/",
"",
summary="Remove a service.",
status_code=status.HTTP_204_NO_CONTENT,
responses={