diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-01 08:04:22 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-01 08:04:22 +0800 |
commit | 63e869f6d01663a22773d244920362921dbcdcdc (patch) | |
tree | baa38b03db88fa1e057fe5188cc1f86d2e1f2a1a /packages/json-schemas/schemas | |
parent | 4aff9515d807feb5fc30431d109d503a6c52f0cd (diff) | |
download | dexon-0x-contracts-63e869f6d01663a22773d244920362921dbcdcdc.tar.gz dexon-0x-contracts-63e869f6d01663a22773d244920362921dbcdcdc.tar.zst dexon-0x-contracts-63e869f6d01663a22773d244920362921dbcdcdc.zip |
Add paginated collection test case
Diffstat (limited to 'packages/json-schemas/schemas')
-rw-r--r-- | packages/json-schemas/schemas/paginated_collection_schema.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/json-schemas/schemas/paginated_collection_schema.ts b/packages/json-schemas/schemas/paginated_collection_schema.ts index 2c29ef4e0..abd86f1ef 100644 --- a/packages/json-schemas/schemas/paginated_collection_schema.ts +++ b/packages/json-schemas/schemas/paginated_collection_schema.ts @@ -2,9 +2,9 @@ export const paginatedCollectionSchema = { id: '/PaginatedCollection', type: 'object', properties: { - total: { $ref: '/Number' }, - perPage: { $ref: '/Number' }, - page: { $ref: '/Number' }, + total: { type: 'number' }, + perPage: { type: 'number' }, + page: { type: 'number' }, }, required: ['total', 'perPage', 'page'], }; |