diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 15:09:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 15:09:05 +0300 |
commit | 5426ca9908085087d465fa52800335f408eb965a (patch) | |
tree | 6b442cff02fda9402fc7bb9cf9986e363dd5aaa6 /spec/fixtures | |
parent | 67cdfd2683b89bce260600fa8925eefdcdf9e3e5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/api/schemas/public_api/v4/deploy_token.json | 31 | ||||
-rw-r--r-- | spec/fixtures/api/schemas/public_api/v4/deploy_tokens.json | 6 |
2 files changed, 37 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/deploy_token.json b/spec/fixtures/api/schemas/public_api/v4/deploy_token.json new file mode 100644 index 00000000000..c8a8b8d1e7d --- /dev/null +++ b/spec/fixtures/api/schemas/public_api/v4/deploy_token.json @@ -0,0 +1,31 @@ +{ + "type": "object", + "required": [ + "id", + "name", + "username", + "expires_at", + "scopes" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "username": { + "type": "string" + }, + "expires_at": { + "type": "date" + }, + "scopes": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false +}
\ No newline at end of file diff --git a/spec/fixtures/api/schemas/public_api/v4/deploy_tokens.json b/spec/fixtures/api/schemas/public_api/v4/deploy_tokens.json new file mode 100644 index 00000000000..71c30cb2a73 --- /dev/null +++ b/spec/fixtures/api/schemas/public_api/v4/deploy_tokens.json @@ -0,0 +1,6 @@ +{ + "type": "array", + "items": { + "$ref": "deploy_token.json" + } +}
\ No newline at end of file |