-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Routes query v3 #490
base: develop_debrecated
Are you sure you want to change the base?
Routes query v3 #490
Conversation
maas-schemas/schemas/maas-backend/routes/routes-query/request.json
Outdated
Show resolved
Hide resolved
f3113c1
to
9bcddf5
Compare
{ "$ref": "http://maasglobal.com/core/components/units.json#/definitions/uuid" }, | ||
{ | ||
"type": "string", | ||
"enum": ["UNKNOWN"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If not available, isn't it made more sense just being null?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this way there is a clear indication that the routes query was executed without a requestId
, and is soemthing positive to base other things on, e.g. searching logs for bad requests to omit them from further use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd still suggest using null. Null is very clear, comparing to what you think about "undefined"
@@ -64,6 +64,12 @@ | |||
"agencyId": { | |||
"$ref": "http://maasglobal.com/core/components/common.json#/definitions/agencyId" | |||
}, | |||
"agencyName": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume this is the provider that provided the route?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ye
maas-schemas/schemas/maas-backend/routes/routes-query/request.json
Outdated
Show resolved
Hide resolved
4046b0a
to
e3c5d1b
Compare
22dc9a3
to
0260bc3
Compare
What has been implemented?
Mainly extra itinerary properties to support routes-query-v3 (used for Whim Ride)
Todos:
Versioning: