-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add model field metadata; revise tour model
Address comments in code review Model is revised due to change in Tour model spec: - Id field is no longer part of the yaml file spec; - However, an id is generated and added to the tour data returned as a list - As a result, in a list, a tour item must have an id, whereas in tour details, a tour item must not have an id. I've factored out "core tour" data into its own model to solve this.
- Loading branch information
Showing
2 changed files
with
75 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters