gitlab-org--gitlab-foss/spec/fixtures/api/schemas/entities/commit.json
2018-10-10 15:59:02 +02:00

26 lines
556 B
JSON

{
"type": "object",
"allOf": [
{ "$ref": "../public_api/v4/commit/basic.json" },
{
"type": "object",
"required": [
"author_gravatar_url",
"commit_url",
"commit_path",
"author"
],
"properties": {
"author_gravatar_url": { "type": "string" },
"commit_url": { "type": "string" },
"commit_path": { "type": "string" },
"author": {
"oneOf": [
{ "type": "null" },
{ "$ref": "user.json" }
]
}
}
}
]
}