From e6165855b938c01902b0eea0abfda01c677ba7fa Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle <patrizio.bekerle@tugraz.at> Date: Mon, 18 Oct 2021 15:44:36 +0200 Subject: [PATCH] Add shortNames to entities --- src/Entity/CheckInAction.php | 3 ++- src/Entity/CheckOutAction.php | 1 + src/Entity/GuestCheckInAction.php | 1 + src/Entity/Place.php | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Entity/CheckInAction.php b/src/Entity/CheckInAction.php index 569f5ce..ea3f8fe 100644 --- a/src/Entity/CheckInAction.php +++ b/src/Entity/CheckInAction.php @@ -26,7 +26,7 @@ use Symfony\Component\Validator\Constraints as Assert; * }, * "openapi_context" = { * "tags" = {"Checkin"}, - * "summary" = "Retrieves all CheckInActions of the current user.", + * "summary" = "Retrieves all CheckinCheckInActions of the current user.", * "parameters" = { * { * "name" = "location", @@ -65,6 +65,7 @@ use Symfony\Component\Validator\Constraints as Assert; * } * }, * iri="http://schema.org/CheckInAction", + * shortName="CheckinCheckInAction", * description="Location check-in action", * normalizationContext={ * "jsonld_embed_context" = true, diff --git a/src/Entity/CheckOutAction.php b/src/Entity/CheckOutAction.php index e532688..f5ecb8c 100644 --- a/src/Entity/CheckOutAction.php +++ b/src/Entity/CheckOutAction.php @@ -52,6 +52,7 @@ use Symfony\Component\Validator\Constraints as Assert; * } * }, * iri="http://schema.org/CheckOutAction", + * shortName="CheckinCheckOutAction", * description="Location check-out action", * normalizationContext={ * "jsonld_embed_context" = true, diff --git a/src/Entity/GuestCheckInAction.php b/src/Entity/GuestCheckInAction.php index 8e7a1d5..c339c24 100644 --- a/src/Entity/GuestCheckInAction.php +++ b/src/Entity/GuestCheckInAction.php @@ -65,6 +65,7 @@ use Symfony\Component\Validator\Constraints as Assert; * } * }, * iri="http://schema.org/CheckInAction", + * shortName="CheckinGuestCheckInAction", * description="Location guest check-in action", * normalizationContext={ * "jsonld_embed_context" = true, diff --git a/src/Entity/Place.php b/src/Entity/Place.php index c442846..a49ef7a 100644 --- a/src/Entity/Place.php +++ b/src/Entity/Place.php @@ -37,6 +37,7 @@ use Symfony\Component\Serializer\Annotation\Groups; * } * }, * iri="http://schema.org/Place", + * shortName="CheckinPlace", * description="Check-in place", * normalizationContext={ * "jsonld_embed_context" = true, -- GitLab