Commit 4ebadb77 authored by Tomasz Maczukin's avatar Tomasz Maczukin

iChange `name` and `path` to `name_with_namespace` and `path_with_namespace`...

iChange `name` and `path` to `name_with_namespace` and `path_with_namespace` in `RunnerProjectDetails`
parent 05e73356
......@@ -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",
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment