diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-29 15:07:02 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-29 15:07:02 +0000 |
commit | a466e9450d5949aa762913729918db02b5d27761 (patch) | |
tree | 8edfaac5434413a7fe160a6e50dfaee8ecf0f151 /spec/fixtures | |
parent | d1d4dfb74a55a1b56b9451b2a844c57e05c9557f (diff) | |
download | gitlab-ce-a466e9450d5949aa762913729918db02b5d27761.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/api/schemas/public_api/v4/deploy_key.json | 48 |
1 files changed, 39 insertions, 9 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/deploy_key.json b/spec/fixtures/api/schemas/public_api/v4/deploy_key.json index 99e57a4c218..4f8b5c8422e 100644 --- a/spec/fixtures/api/schemas/public_api/v4/deploy_key.json +++ b/spec/fixtures/api/schemas/public_api/v4/deploy_key.json @@ -7,20 +7,50 @@ "expires_at", "key", "fingerprint_sha256", + "usage_type", "projects_with_write_access" ], "properties": { - "id": { "type": "integer" }, - "title": { "type": "string" }, - "created_at": { "type": "string", "format": "date-time" }, - "expires_at": { "type": ["string", "null"], "format": "date-time" }, - "key": { "type": "string" }, - "fingerprint": { "type": "string" }, - "fingerprint_sha256": { "type": "string" }, + "id": { + "type": "integer" + }, + "title": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "key": { + "type": "string" + }, + "fingerprint": { + "type": "string" + }, + "fingerprint_sha256": { + "type": "string" + }, + "usage_type": { + "type": "string", + "enum": [ + "auth", + "signing", + "auth_and_signing" + ] + }, "projects_with_write_access": { "type": "array", - "items": { "$ref": "project/identity.json" } + "items": { + "$ref": "project/identity.json" + } } }, "additionalProperties": false -} +}
\ No newline at end of file |