Correct orderbook typo
This commit is contained in:
parent
76b91cbcda
commit
cc67c0df51
@ -1,5 +1,5 @@
|
||||
export const relayerApiOrderBookResponseSchema = {
|
||||
id: '/relayerApiOrderBookResponseSchema',
|
||||
export const relayerApiOrderbookResponseSchema = {
|
||||
id: '/relayerApiOrderbookResponseSchema',
|
||||
type: 'object',
|
||||
properties: {
|
||||
bids: { $ref: '/relayerApiOrdersResponseSchema' },
|
||||
|
@ -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,
|
||||
|
@ -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 = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user