debian-mirror-gitlab/spec/fixtures/api/schemas/entities/commit.json

27 lines
568 B
JSON
Raw Normal View History

2018-12-05 23:21:45 +05:30
{
"type": "object",
"allOf": [
{ "$ref": "../public_api/v4/commit/basic.json" },
{
"type": "object",
"required": [
"author_gravatar_url",
"commit_url",
"commit_path",
"author"
],
"properties": {
2022-08-13 15:12:31 +05:30
"author_gravatar_url": { "type": [ "string", "null" ] },
2018-12-05 23:21:45 +05:30
"commit_url": { "type": "string" },
"commit_path": { "type": "string" },
"author": {
"oneOf": [
{ "type": "null" },
2018-12-13 13:39:08 +05:30
{ "$ref": "user.json" }
2018-12-05 23:21:45 +05:30
]
}
2018-12-13 13:39:08 +05:30
}
2018-12-05 23:21:45 +05:30
}
]
}