diff options
author | Francesco Agosti <francesco.agosti93@gmail.com> | 2018-08-14 06:12:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-14 06:12:01 +0800 |
commit | 0025c6640b3a5840bacfb4ab5f6e937fc9af8eff (patch) | |
tree | 7419eeab7eb49fb3769125d705f8022d66be7fb9 /packages/sra-api/src/parameters.ts | |
parent | 25a8554be1550e00fba023fd56a3a6e181888e81 (diff) | |
parent | 5ef84d61fa2f13986281ee9b77b992bdaff69781 (diff) | |
download | dexon-sol-tools-0025c6640b3a5840bacfb4ab5f6e937fc9af8eff.tar dexon-sol-tools-0025c6640b3a5840bacfb4ab5f6e937fc9af8eff.tar.gz dexon-sol-tools-0025c6640b3a5840bacfb4ab5f6e937fc9af8eff.tar.bz2 dexon-sol-tools-0025c6640b3a5840bacfb4ab5f6e937fc9af8eff.tar.lz dexon-sol-tools-0025c6640b3a5840bacfb4ab5f6e937fc9af8eff.tar.xz dexon-sol-tools-0025c6640b3a5840bacfb4ab5f6e937fc9af8eff.tar.zst dexon-sol-tools-0025c6640b3a5840bacfb4ab5f6e937fc9af8eff.zip |
Merge pull request #958 from 0xProject/feature/sra-api/camel-case-everything
[sra-api] Enforce camelCase for all parameters and other changes.
Diffstat (limited to 'packages/sra-api/src/parameters.ts')
-rw-r--r-- | packages/sra-api/src/parameters.ts | 4 |
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, |