Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
bb64e45f
Commit
bb64e45f
authored
Aug 05, 2020
by
Philip Cunningham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more specific ID type for DastSiteProfiles
parent
121c98d5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+2
-2
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+2
-2
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+2
-2
ee/app/graphql/mutations/dast_site_profiles/create.rb
ee/app/graphql/mutations/dast_site_profiles/create.rb
+1
-1
ee/app/graphql/types/dast_site_profile_type.rb
ee/app/graphql/types/dast_site_profile_type.rb
+1
-1
No files found.
doc/api/graphql/reference/gitlab_schema.graphql
View file @
bb64e45f
...
@@ -2321,7 +2321,7 @@ type DastSiteProfile {
...
@@ -2321,7 +2321,7 @@ type DastSiteProfile {
"""
"""
ID
of
the
site
profile
ID
of
the
site
profile
"""
"""
id
:
ID
!
id
:
DastSiteProfile
ID
!
"""
"""
The
name
of
the
site
profile
The
name
of
the
site
profile
...
@@ -2406,7 +2406,7 @@ type DastSiteProfileCreatePayload {
...
@@ -2406,7 +2406,7 @@ type DastSiteProfileCreatePayload {
"""
"""
ID
of
the
site
profile
.
ID
of
the
site
profile
.
"""
"""
id
:
ID
id
:
DastSiteProfile
ID
}
}
"""
"""
...
...
doc/api/graphql/reference/gitlab_schema.json
View file @
bb64e45f
...
@@ -6230,7 +6230,7 @@
...
@@ -6230,7 +6230,7 @@
"name": null,
"name": null,
"ofType": {
"ofType": {
"kind": "SCALAR",
"kind": "SCALAR",
"name": "ID",
"name": "
DastSiteProfile
ID",
"ofType": null
"ofType": null
}
}
},
},
...
@@ -6484,7 +6484,7 @@
...
@@ -6484,7 +6484,7 @@
],
],
"type": {
"type": {
"kind": "SCALAR",
"kind": "SCALAR",
"name": "ID",
"name": "
DastSiteProfile
ID",
"ofType": null
"ofType": null
},
},
"isDeprecated": false,
"isDeprecated": false,
doc/api/graphql/reference/index.md
View file @
bb64e45f
...
@@ -408,7 +408,7 @@ Represents a DAST Site Profile.
...
@@ -408,7 +408,7 @@ Represents a DAST Site Profile.
| Name | Type | Description |
| Name | Type | Description |
| --- | ---- | ---------- |
| --- | ---- | ---------- |
|
`id`
| ID! | ID of the site profile |
|
`id`
|
DastSiteProfile
ID! | ID of the site profile |
|
`profileName`
| String | The name of the site profile |
|
`profileName`
| String | The name of the site profile |
|
`targetUrl`
| String | The URL of the target to be scanned |
|
`targetUrl`
| String | The URL of the target to be scanned |
|
`userPermissions`
| DastSiteProfilePermissions! | Permissions for the current user on the resource |
|
`userPermissions`
| DastSiteProfilePermissions! | Permissions for the current user on the resource |
...
@@ -422,7 +422,7 @@ Autogenerated return type of DastSiteProfileCreate
...
@@ -422,7 +422,7 @@ Autogenerated return type of DastSiteProfileCreate
| --- | ---- | ---------- |
| --- | ---- | ---------- |
|
`clientMutationId`
| String | A unique identifier for the client performing the mutation. |
|
`clientMutationId`
| String | A unique identifier for the client performing the mutation. |
|
`errors`
| String! => Array | Errors encountered during execution of the mutation. |
|
`errors`
| String! => Array | Errors encountered during execution of the mutation. |
|
`id`
| ID | ID of the site profile. |
|
`id`
|
DastSiteProfile
ID | ID of the site profile. |
## DastSiteProfileDeletePayload
## DastSiteProfileDeletePayload
...
...
ee/app/graphql/mutations/dast_site_profiles/create.rb
View file @
bb64e45f
...
@@ -7,7 +7,7 @@ module Mutations
...
@@ -7,7 +7,7 @@ module Mutations
graphql_name
'DastSiteProfileCreate'
graphql_name
'DastSiteProfileCreate'
field
:id
,
GraphQL
::
ID_TYPE
,
field
:id
,
::
Types
::
GlobalIDType
[
::
DastSiteProfile
]
,
null:
true
,
null:
true
,
description:
'ID of the site profile.'
description:
'ID of the site profile.'
...
...
ee/app/graphql/types/dast_site_profile_type.rb
View file @
bb64e45f
...
@@ -9,7 +9,7 @@ module Types
...
@@ -9,7 +9,7 @@ module Types
expose_permissions
Types
::
PermissionTypes
::
DastSiteProfile
expose_permissions
Types
::
PermissionTypes
::
DastSiteProfile
field
:id
,
GraphQL
::
ID_TYPE
,
null:
false
,
field
:id
,
::
Types
::
GlobalIDType
[
::
DastSiteProfile
]
,
null:
false
,
description:
'ID of the site profile'
description:
'ID of the site profile'
field
:profile_name
,
GraphQL
::
STRING_TYPE
,
null:
true
,
field
:profile_name
,
GraphQL
::
STRING_TYPE
,
null:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment