Skip to content

Commit

Permalink
Implement NodeJS based server fully replicating osrm-routed
Browse files Browse the repository at this point in the history
  • Loading branch information
SiarheiFedartsou committed Oct 22, 2022
1 parent 98dce89 commit b122edc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions routed-js/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const queryStringJsonSchemaTable = {
properties: {
...queryStringJsonSchemaGeneral.properties,
sources: {
oneOf: [
anyOf: [
{
type: 'array',
items: {
Expand All @@ -123,12 +123,13 @@ const queryStringJsonSchemaTable = {
}
},
{
type: 'string',
enum: ['all']
}
]
},
destinations: {
oneOf: [
anyOf: [
{
type: 'array',
items: {
Expand All @@ -137,6 +138,7 @@ const queryStringJsonSchemaTable = {
}
},
{
type: 'string',
enum: ['all']
}
]
Expand Down
6 changes: 4 additions & 2 deletions routed-js/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const queryStringJsonSchemaTable = {
properties: {
...queryStringJsonSchemaGeneral.properties,
sources: {
oneOf: [
anyOf: [
{
type: 'array',
items: {
Expand All @@ -122,13 +122,14 @@ const queryStringJsonSchemaTable = {
}
},
{
type: 'string',
enum: ['all']
}
]

},
destinations: {
oneOf: [
anyOf: [
{
type: 'array',
items: {
Expand All @@ -137,6 +138,7 @@ const queryStringJsonSchemaTable = {
}
},
{
type: 'string',
enum: ['all']
}
]
Expand Down

0 comments on commit b122edc

Please sign in to comment.