diff options
Diffstat (limited to 'spec/fixtures/api')
-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 |