提交 4ebadb77 编写于 作者: T 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`
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册