forked from sr2/cloud-api
fix: remove trailing slash and plurals in paths
This commit is contained in:
parent
c74e895bf1
commit
1a6a6ad97d
9 changed files with 20 additions and 20 deletions
|
|
@ -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={
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue