summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/entities/github/pull_request.json
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api/schemas/entities/github/pull_request.json')
-rw-r--r--spec/fixtures/api/schemas/entities/github/pull_request.json18
1 files changed, 3 insertions, 15 deletions
diff --git a/spec/fixtures/api/schemas/entities/github/pull_request.json b/spec/fixtures/api/schemas/entities/github/pull_request.json
index 6c24879b800..beefc1e3fb7 100644
--- a/spec/fixtures/api/schemas/entities/github/pull_request.json
+++ b/spec/fixtures/api/schemas/entities/github/pull_request.json
@@ -28,21 +28,9 @@
"merged": {
"type": "boolean"
},
- "merged_at": {
- "type": [
- "date",
- "null"
- ]
- },
- "closed_at": {
- "type": [
- "date",
- "null"
- ]
- },
- "updated_at": {
- "type": "date"
- },
+ "merged_at": { "type": [ "string", "null" ], "format": "date-time" },
+ "closed_at": { "type": [ "string", "null" ], "format": "date-time" },
+ "updated_at": { "type": "string", "format": "date-time" },
"assignee": {
"$ref": "user.json"
},