From df7cbd362f7e749384470e8fa0e6d5554b179432 Mon Sep 17 00:00:00 2001 From: Amin Date: Fri, 24 May 2024 16:23:35 +0200 Subject: [PATCH] refactor: move campo keys schema to common package --- .../RestApi/TranslatedDegreeProgramController.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Infrastructure/RestApi/TranslatedDegreeProgramController.php b/src/Infrastructure/RestApi/TranslatedDegreeProgramController.php index da3145c..570dcd1 100644 --- a/src/Infrastructure/RestApi/TranslatedDegreeProgramController.php +++ b/src/Infrastructure/RestApi/TranslatedDegreeProgramController.php @@ -676,6 +676,14 @@ public function get_item_schema(): array ), 'type' => 'object', ], + DegreeProgram::CAMPO_KEYS => [ + 'description' => _x( + 'Degree program Campo Keys.', + 'rest_api: schema item description', + 'fau-degree-program' + ), + 'type' => 'object', + ], ]; return $this->schema;