-
Notifications
You must be signed in to change notification settings - Fork 2
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
OTP-888 Swagger including mobility profiles. #198
Conversation
@@ -2550,8 +2550,18 @@ definitions: | |||
type: "boolean" | |||
hasConsentedToTerms: | |||
type: "boolean" | |||
isMobilityLimited: |
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.
Main reason why you want to publish a PR branch quickly for review: I see that the mobility attributes start to stack up, and my thought was to put them under a mobilityProfile
field:
- <other OTP User attributes>
- mobilityProfile
- isMobiityLimited
- mobilityDevices
- mobilityMode
- visionLimitation
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'm putting together a mobilityProfile
field as requested.
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.
Approving this to make tests pass.
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.
Happy to see this updated. Do unit test need updating?
Checklist
dev
before they can be merged tomaster
)Description
Add mobility profile support. New fields in
OtpUser
(in this code and in Mongo and Swagger). Following the logic, naming, and strings in the Georgia Tech document, a somewhat unwieldy newOtpUserController#calculateMobilityMode()
that takes specified string values and calculates a "mobility mode" keyword or compound keyword.This PR should include the 08d9695 commits.