iChange `name` and `path` to `name_with_namespace` and `path_with_namespace` in `RunnerProjectDetails`

This commit is contained in:
Tomasz Maczukin 2016-02-16 12:45:43 +01:00
parent 05e7335664
commit 4ebadb77dd
2 changed files with 6 additions and 6 deletions

View File

@ -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",

View File

@ -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