summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-01-31 18:30:31 +0100
committerRémy Coutable <remy@rymai.me>2018-01-31 18:31:21 +0100
commitc6311207eef6cf66f77d410269efc7581288cb2f (patch)
tree5f2549b1083467d23d5f7f05d371d45bbd788f9d
parenta2718ebaffd431b1eec91f3ee467d9632309b5f2 (diff)
downloadgitlab-ce-c6311207eef6cf66f77d410269efc7581288cb2f.tar.gz
Fix a JSON schema that doesn't include enough fields
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/user/basic.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/user/basic.json b/spec/fixtures/api/schemas/public_api/v4/user/basic.json
index bf330d8278c..2d815be32a6 100644
--- a/spec/fixtures/api/schemas/public_api/v4/user/basic.json
+++ b/spec/fixtures/api/schemas/public_api/v4/user/basic.json
@@ -2,12 +2,16 @@
"type": ["object", "null"],
"required": [
"id",
+ "name",
+ "username",
"state",
"avatar_url",
"web_url"
],
"properties": {
"id": { "type": "integer" },
+ "name": { "type": "string" },
+ "username": { "type": "string" },
"state": { "type": "string" },
"avatar_url": { "type": "string" },
"web_url": { "type": "string" }