aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/json-schemas/schemas/relayer_api_orderbook_response_schema.ts4
-rw-r--r--packages/json-schemas/src/schemas.ts4
-rw-r--r--packages/json-schemas/test/schema_test.ts6
3 files changed, 7 insertions, 7 deletions
diff --git a/packages/json-schemas/schemas/relayer_api_orderbook_response_schema.ts b/packages/json-schemas/schemas/relayer_api_orderbook_response_schema.ts
index 2e5b0c6f2..7c0b8e0df 100644
--- a/packages/json-schemas/schemas/relayer_api_orderbook_response_schema.ts
+++ b/packages/json-schemas/schemas/relayer_api_orderbook_response_schema.ts
@@ -1,5 +1,5 @@
-export const relayerApiOrderBookResponseSchema = {
- id: '/relayerApiOrderBookResponseSchema',
+export const relayerApiOrderbookResponseSchema = {
+ id: '/relayerApiOrderbookResponseSchema',
type: 'object',
properties: {
bids: { $ref: '/relayerApiOrdersResponseSchema' },
diff --git a/packages/json-schemas/src/schemas.ts b/packages/json-schemas/src/schemas.ts
index 002a470be..3bc37f96b 100644
--- a/packages/json-schemas/src/schemas.ts
+++ b/packages/json-schemas/src/schemas.ts
@@ -20,7 +20,7 @@ import { relayerApiFeeRecipientsResponseSchema } from '../schemas/relayer_api_fe
import { relayerApiOrderConfigPayloadSchema } from '../schemas/relayer_api_order_config_payload_schema';
import { relayerApiOrderConfigResponseSchema } from '../schemas/relayer_api_order_config_response_schema';
import { relayerApiOrderSchema } from '../schemas/relayer_api_order_schema';
-import { relayerApiOrderBookResponseSchema } from '../schemas/relayer_api_orderbook_response_schema';
+import { relayerApiOrderbookResponseSchema } from '../schemas/relayer_api_orderbook_response_schema';
import {
relayerApiOrdersChannelSubscribePayload,
relayerApiOrdersChannelSubscribeSchema,
@@ -60,7 +60,7 @@ export const schemas = {
relayerApiOrdersSchema,
relayerApiOrderConfigPayloadSchema,
relayerApiOrderConfigResponseSchema,
- relayerApiOrderBookResponseSchema,
+ relayerApiOrderbookResponseSchema,
relayerApiAssetDataPairsResponseSchema,
relayerApiAssetDataTradeInfoSchema,
relayerApiOrdersChannelSubscribeSchema,
diff --git a/packages/json-schemas/test/schema_test.ts b/packages/json-schemas/test/schema_test.ts
index 1f59f4da2..61ef3d7ac 100644
--- a/packages/json-schemas/test/schema_test.ts
+++ b/packages/json-schemas/test/schema_test.ts
@@ -28,7 +28,7 @@ const {
txDataSchema,
paginatedCollectionSchema,
relayerApiErrorResponseSchema,
- relayerApiOrderBookResponseSchema,
+ relayerApiOrderbookResponseSchema,
relayerApiAssetDataPairsResponseSchema,
relayerApiOrderConfigPayloadSchema,
relayerApiOrderConfigResponseSchema,
@@ -623,7 +623,7 @@ describe('Schema', () => {
validateAgainstSchema(testCases, relayerApiOrdersResponseSchema, shouldFail);
});
});
- describe('#relayerApiOrderBookResponseSchema', () => {
+ describe('#relayerApiOrderbookResponseSchema', () => {
it('should validate valid order book responses', () => {
const testCases = [
{
@@ -657,7 +657,7 @@ describe('Schema', () => {
},
},
];
- validateAgainstSchema(testCases, relayerApiOrderBookResponseSchema);
+ validateAgainstSchema(testCases, relayerApiOrderbookResponseSchema);
});
it('should fail for invalid order fill requests', () => {
const testCases = [