iChange `name` and `path` to `name_with_namespace` and `path_with_namespace` in `RunnerProjectDetails`
This commit is contained in:
parent
05e7335664
commit
4ebadb77dd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue