aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/schemas
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-01 08:04:22 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-01 08:04:22 +0800
commit63e869f6d01663a22773d244920362921dbcdcdc (patch)
treebaa38b03db88fa1e057fe5188cc1f86d2e1f2a1a /packages/json-schemas/schemas
parent4aff9515d807feb5fc30431d109d503a6c52f0cd (diff)
downloaddexon-sol-tools-63e869f6d01663a22773d244920362921dbcdcdc.tar
dexon-sol-tools-63e869f6d01663a22773d244920362921dbcdcdc.tar.gz
dexon-sol-tools-63e869f6d01663a22773d244920362921dbcdcdc.tar.bz2
dexon-sol-tools-63e869f6d01663a22773d244920362921dbcdcdc.tar.lz
dexon-sol-tools-63e869f6d01663a22773d244920362921dbcdcdc.tar.xz
dexon-sol-tools-63e869f6d01663a22773d244920362921dbcdcdc.tar.zst
dexon-sol-tools-63e869f6d01663a22773d244920362921dbcdcdc.zip
Add paginated collection test case
Diffstat (limited to 'packages/json-schemas/schemas')
-rw-r--r--packages/json-schemas/schemas/paginated_collection_schema.ts6
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'],
};