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

path: courses -> base/courses

parent a48cd8cb
No related branches found
No related tags found
No related merge requests found
Pipeline #89235 failed
......@@ -13,6 +13,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
* @ApiResource(
* collectionOperations={
* "get" = {
* "path" = "/base/courses",
* "openapi_context" = {
* "tags" = {"Courses"},
* "parameters" = {
......@@ -54,9 +55,11 @@ use Symfony\Component\Serializer\Annotation\Groups;
* },
* itemOperations={
* "get" = {
* "path" = "/base/courses/{identifier}",
* "openapi_context" = {
* "tags" = {"Courses"},
* "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"}
* }
* }
......
......@@ -22,7 +22,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
* },
* "get_bycourse" = {
* "method" = "GET",
* "path" = "/courses/{identifier}/attendees",
* "path" = "/base/courses/{identifier}/attendees",
* "controller" = GetAttendeesByCourse::class,
* "read" = false,
* "normalization_context" = {
......
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