mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 00:41:35 -05:00
Merge pull request #680 from alphagov/update-return-all-notifications-schema
Update schema to validate contents of GET notifications
This commit is contained in:
@@ -3,7 +3,7 @@ import uuid
|
||||
from datetime import datetime
|
||||
from flask import json
|
||||
from freezegun import freeze_time
|
||||
from mock import call
|
||||
from unittest.mock import call
|
||||
|
||||
import app.celery.tasks
|
||||
from app.dao.notifications_dao import (
|
||||
|
||||
@@ -14,6 +14,17 @@
|
||||
},
|
||||
"links": {
|
||||
"type": "object",
|
||||
"properties" : {
|
||||
"prev" : {
|
||||
"type" : "string"
|
||||
},
|
||||
"next" : {
|
||||
"type" : "string"
|
||||
},
|
||||
"last": {
|
||||
"type" : "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"page_size": {"type": "number"},
|
||||
|
||||
Reference in New Issue
Block a user