Skip to content

Commit 71d919b

Browse files
save
1 parent 8a46ddb commit 71d919b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

routed-js/schema.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ const queryStringJsonSchemaRoute = {
7777
type: 'object',
7878
properties: {
7979
...queryStringJsonSchemaGeneral.properties,
80+
// TODO: strict mode: use allowUnionTypes to allow union
8081
alternatives: { type: ['boolean', 'integer'], default: false },
8182
steps: { type: 'boolean', default: false },
8283
annotations: makeAnnotationsSchema(['duration', 'nodes', 'distance', 'weight', 'datasources', 'speed']),

routed-js/schema.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ const queryStringJsonSchemaRoute = {
7474
type: 'object',
7575
properties: {
7676
...queryStringJsonSchemaGeneral.properties,
77+
// TODO: strict mode: use allowUnionTypes to allow union
7778
alternatives: { type: ['boolean', 'integer'], default: false },
7879
steps: { type: 'boolean', default: false },
7980
annotations: makeAnnotationsSchema(['duration', 'nodes', 'distance', 'weight', 'datasources', 'speed']),

0 commit comments

Comments
 (0)