Skip to content
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

Share (data) definitions between the APIs #11

Open
brylie opened this issue Jun 28, 2018 · 1 comment
Open

Share (data) definitions between the APIs #11

brylie opened this issue Jun 28, 2018 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@brylie
Copy link
Contributor

brylie commented Jun 28, 2018

We have a broad goal of creating multiple APIs, rather than a monolithic API specification. To that end, we should try to share data elements across API definitions, so our work is internally consistent (also externally harmonized).

Task

  • split data definitions into own file
  • add $ref tags in API definitions to link the data elements
@brylie brylie added the enhancement New feature or request label Jun 28, 2018
@brylie brylie added this to the 0.2 milestone Jun 28, 2018
@brylie brylie changed the title Split data definitions into separate file(s) Share (data) definitions between the APIs Aug 6, 2018
@brylie
Copy link
Contributor Author

brylie commented Aug 6, 2018

Can reuse ModeInfo and particularly the "mode identifiers" to have a defined hierarchy of supported modes and make it consistent across APIs.

@nighthawk

The above review comment was made regarding the Booking API mode field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant