summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api/runners.md8
-rw-r--r--lib/api/entities.rb4
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/runners.md b/doc/api/runners.md
index 2cdd40590c1..600f238a406 100644
--- a/doc/api/runners.md
+++ b/doc/api/runners.md
@@ -122,8 +122,8 @@ Example response:
"projects": [
{
"id": 1,
- "name": "GitLab.org / GitLab Community Edition",
- "path": "gitlab-org/gitlab-ce"
+ "name_with_namespace": "GitLab.org / GitLab Community Edition",
+ "path_with_namespace": "gitlab-org/gitlab-ce"
}
],
"token": "205086a8e3b9a2b818ffac9b89d102",
@@ -170,8 +170,8 @@ Example response:
"projects": [
{
"id": 1,
- "name": "GitLab.org / GitLab Community Edition",
- "path": "gitlab-org/gitlab-ce"
+ "name_with_namespace": "GitLab.org / GitLab Community Edition",
+ "path_with_namespace": "gitlab-org/gitlab-ce"
}
],
"token": "205086a8e3b9a2b818ffac9b89d102",
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 3f1594994c9..09dae1e88e2 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -371,8 +371,8 @@ module API
class RunnerProjectDetails < Grape::Entity
expose :id
- expose :name_with_namespace, as: :name
- expose :path_with_namespace, as: :path
+ expose :name_with_namespace
+ expose :path_with_namespace
end
class Runner < Grape::Entity