Skip to content
Snippets Groups Projects
Commit 1d3b3029 authored by Tobias Gross-Vogt's avatar Tobias Gross-Vogt
Browse files

tags Courses -> BaseCourse

parent a0499e7c
No related branches found
No related tags found
No related merge requests found
Pipeline #89749 passed
......@@ -15,7 +15,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
* "get" = {
* "path" = "/base/courses",
* "openapi_context" = {
* "tags" = {"Courses"},
* "tags" = {"BaseCourse"},
* "parameters" = {
* {"name" = "lang", "in" = "query", "description" = "Language of result", "type" = "string", "enum" = {"de", "en"}, "example" = "de"},
* {"name" = "term", "in" = "query", "description" = "Teaching term", "type" = "string", "enum" = {"W", "S"}, "example" = "W"},
......@@ -28,7 +28,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
* "controller" = GetCoursesByOrganization::class,
* "read" = false,
* "openapi_context" = {
* "tags" = {"Courses"},
* "tags" = {"BaseCourse"},
* "summary" = "Get the Courses related to an organization.",
* "parameters" = {
* {"name" = "lang", "in" = "query", "description" = "Language of result", "type" = "string", "enum" = {"de", "en"}, "example" = "de"},
......@@ -43,7 +43,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
* "controller" = GetCoursesByPerson::class,
* "read" = false,
* "openapi_context" = {
* "tags" = {"Courses"},
* "tags" = {"BaseCourse"},
* "summary" = "Get the Courses related to a person.",
* "parameters" = {
* {"name" = "lang", "in" = "query", "description" = "Language of result", "type" = "string", "enum" = {"de", "en"}, "example" = "de"},
......@@ -57,7 +57,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
* "get" = {
* "path" = "/base/courses/{identifier}",
* "openapi_context" = {
* "tags" = {"Courses"},
* "tags" = {"BaseCourse"},
* "parameters" = {
* {"name" = "identifier", "in" = "path", "description" = "Id of course", "required" = true, "type" = "string", "example" = "257571"},
* {"name" = "lang", "in" = "query", "description" = "Language of result", "type" = "string", "enum" = {"de", "en"}, "example" = "de"}
......@@ -66,7 +66,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
* }
* },
* iri="https://schema.org/Course",
* normalizationContext={"groups" = {"Course:output"}, "jsonld_embed_context" = true},
* normalizationContext={"groups" = {"BaseCourse:output"}, "jsonld_embed_context" = true},
* )
*/
class Course implements CourseInterface
......
......@@ -17,7 +17,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
* "path" = "/course_attendees",
* "security" = "is_granted('IS_AUTHENTICATED_FULLY')",
* "openapi_context" = {
* "tags" = {"Courses"}
* "tags" = {"BaseCourse"}
* }
* },
* "get_bycourse" = {
......@@ -31,7 +31,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
* "groups" = {"BasePerson:output"}
* },
* "openapi_context" = {
* "tags" = {"Courses"},
* "tags" = {"BaseCourse"},
* "summary" = "Get the attendees of a course.",
* "parameters" = {
* {"name" = "identifier", "in" = "path", "description" = "Id of course", "required" = true, "type" = "string", "example" = "123456"},
......@@ -45,7 +45,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
* "path" = "/course_attendees/{identifier}",
* "security" = "is_granted('IS_AUTHENTICATED_FULLY')",
* "openapi_context" = {
* "tags" = {"Courses"}
* "tags" = {"BaseCourse"}
* }
* }
* },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment