From 993e407ceed299481f108d3e3f4ece502ca13441 Mon Sep 17 00:00:00 2001 From: Tobias Gross-Vogt <tgros@tugraz.at> Date: Thu, 5 May 2022 09:16:11 +0200 Subject: [PATCH] #31661: kebap case refactoring for url paths --- src/Entity/CheckInAction.php | 6 +++--- src/Entity/CheckOutAction.php | 6 +++--- src/Entity/GuestCheckInAction.php | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Entity/CheckInAction.php b/src/Entity/CheckInAction.php index ee389e6..7d44ce6 100644 --- a/src/Entity/CheckInAction.php +++ b/src/Entity/CheckInAction.php @@ -19,7 +19,7 @@ use Symfony\Component\Validator\Constraints as Assert; * }, * collectionOperations={ * "get" = { - * "path" = "/checkin/check_in_actions", + * "path" = "/checkin/check-in-actions", * "security" = "is_granted('IS_AUTHENTICATED_FULLY')", * "normalization_context" = { * "groups" = {"Checkin:output", "Checkin:outputList"} @@ -39,7 +39,7 @@ use Symfony\Component\Validator\Constraints as Assert; * }, * }, * "post" = { - * "path" = "/checkin/check_in_actions", + * "path" = "/checkin/check-in-actions", * "security" = "is_granted('IS_AUTHENTICATED_FULLY')", * "method" = "POST", * "openapi_context" = { @@ -57,7 +57,7 @@ use Symfony\Component\Validator\Constraints as Assert; * }, * itemOperations={ * "get" = { - * "path" = "/checkin/check_in_actions/{identifier}", + * "path" = "/checkin/check-in-actions/{identifier}", * "security" = "is_granted('IS_AUTHENTICATED_FULLY')", * "openapi_context" = { * "tags" = {"Checkin"}, diff --git a/src/Entity/CheckOutAction.php b/src/Entity/CheckOutAction.php index cf1c5f9..3ed66c4 100644 --- a/src/Entity/CheckOutAction.php +++ b/src/Entity/CheckOutAction.php @@ -19,14 +19,14 @@ use Symfony\Component\Validator\Constraints as Assert; * }, * collectionOperations={ * "get" = { - * "path" = "/checkin/check_out_actions", + * "path" = "/checkin/check-out-actions", * "security" = "is_granted('IS_AUTHENTICATED_FULLY')", * "openapi_context" = { * "tags" = {"Checkin"}, * }, * }, * "post" = { - * "path" = "/checkin/check_out_actions", + * "path" = "/checkin/check-out-actions", * "security" = "is_granted('IS_AUTHENTICATED_FULLY')", * "method" = "POST", * "openapi_context" = { @@ -44,7 +44,7 @@ use Symfony\Component\Validator\Constraints as Assert; * }, * itemOperations={ * "get" = { - * "path" = "/checkin/check_out_actions/{identifier}", + * "path" = "/checkin/check-out-actions/{identifier}", * "security" = "is_granted('IS_AUTHENTICATED_FULLY')", * "openapi_context" = { * "tags" = {"Checkin"}, diff --git a/src/Entity/GuestCheckInAction.php b/src/Entity/GuestCheckInAction.php index 2ab5d71..dd2c308 100644 --- a/src/Entity/GuestCheckInAction.php +++ b/src/Entity/GuestCheckInAction.php @@ -19,7 +19,7 @@ use Symfony\Component\Validator\Constraints as Assert; * }, * collectionOperations={ * "get" = { - * "path" = "/checkin/guest_check_in_actions", + * "path" = "/checkin/guest-check-in-actions", * "security" = "is_granted('IS_AUTHENTICATED_FULLY')", * "normalization_context" = { * "groups" = {"Checkin:output", "Checkin:outputList"} @@ -39,7 +39,7 @@ use Symfony\Component\Validator\Constraints as Assert; * }, * }, * "post" = { - * "path" = "/checkin/guest_check_in_actions", + * "path" = "/checkin/guest-check-in-actions", * "security" = "is_granted('IS_AUTHENTICATED_FULLY')", * "method" = "POST", * "openapi_context" = { @@ -57,7 +57,7 @@ use Symfony\Component\Validator\Constraints as Assert; * }, * itemOperations={ * "get" = { - * "path" = "/checkin/guest_check_in_actions/{identifier}", + * "path" = "/checkin/guest-check-in-actions/{identifier}", * "security" = "is_granted('IS_AUTHENTICATED_FULLY')", * "openapi_context" = { * "tags" = {"Checkin"}, -- GitLab