aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-api/src/parameters.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-11 06:56:47 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-11 06:56:47 +0800
commitb6d793aec4dbb8edad8c8c28e6a2200912b46cf3 (patch)
tree264051dc4e61253a7f1645d1734414fad8034e09 /packages/sra-api/src/parameters.ts
parent083319786fad31dfde16cb9e06e893bfeb23785d (diff)
downloaddexon-sol-tools-b6d793aec4dbb8edad8c8c28e6a2200912b46cf3.tar
dexon-sol-tools-b6d793aec4dbb8edad8c8c28e6a2200912b46cf3.tar.gz
dexon-sol-tools-b6d793aec4dbb8edad8c8c28e6a2200912b46cf3.tar.bz2
dexon-sol-tools-b6d793aec4dbb8edad8c8c28e6a2200912b46cf3.tar.lz
dexon-sol-tools-b6d793aec4dbb8edad8c8c28e6a2200912b46cf3.tar.xz
dexon-sol-tools-b6d793aec4dbb8edad8c8c28e6a2200912b46cf3.tar.zst
dexon-sol-tools-b6d793aec4dbb8edad8c8c28e6a2200912b46cf3.zip
Enforce camelCase for all parameters and change the way the site is deployed and hosted
Diffstat (limited to 'packages/sra-api/src/parameters.ts')
-rw-r--r--packages/sra-api/src/parameters.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/sra-api/src/parameters.ts b/packages/sra-api/src/parameters.ts
index 7d63a0a18..10382894c 100644
--- a/packages/sra-api/src/parameters.ts
+++ b/packages/sra-api/src/parameters.ts
@@ -10,7 +10,7 @@ export const paginationParameters: ParameterObject[] = [
},
},
{
- name: 'per_page',
+ name: 'perPage',
in: 'query',
description: 'The number of records to return per page.',
example: 10,
@@ -21,7 +21,7 @@ export const paginationParameters: ParameterObject[] = [
];
export const networkdIdParameter: ParameterObject = {
- name: 'network_id',
+ name: 'networkId',
in: 'query',
description: 'The id of the Ethereum network',
example: 42,