diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 12:09:05 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 12:09:05 +0000 |
commit | 5426ca9908085087d465fa52800335f408eb965a (patch) | |
tree | 6b442cff02fda9402fc7bb9cf9986e363dd5aaa6 /spec/fixtures | |
parent | 67cdfd2683b89bce260600fa8925eefdcdf9e3e5 (diff) | |
download | gitlab-ce-5426ca9908085087d465fa52800335f408eb965a.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_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 |