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

Move API schema to Tyk repo #2006

Merged
merged 2 commits into from
Dec 6, 2018
Merged

Move API schema to Tyk repo #2006

merged 2 commits into from
Dec 6, 2018

Conversation

buger
Copy link
Member

@buger buger commented Nov 30, 2018

Having it in analytics repo cause a lot of issues, since we constantly forgot to update it, when adding new fields.

In addition to adding a schema, this PR also ensure automatic tests, which run schema validation against current API definition.

Also, added DummyAPI method, which returns pre-populated API definition record, with initialized nested fields. This method used for both schema tests, and for the Dashboard to generate example JSON object of an API.

Having it in analytics repo cause lot of issues, since we constantly
forgot to update it, when adding new fields.

In addition to adding schema, this PR also ensure automatic tests,
which run schema validation against current API definition.

Also, added `DummyAPI` method, which returns pre-populated API
definition record, with initialized nested fields. This method used for
both schema tests, and for the Dashboard to generate example JSON
object of an API.
@buger buger merged commit f9e008e into master Dec 6, 2018
@buger buger deleted the move_api_schema branch December 6, 2018 06:22
buger added a commit that referenced this pull request Jan 18, 2019
Having it in analytics repo cause a lot of issues, since we constantly forgot to update it, when adding new fields.

In addition to adding a schema, this PR also ensure automatic tests, which run schema validation against current API definition.

Also, added `DummyAPI` method, which returns pre-populated API definition record, with initialized nested fields. This method used for both schema tests, and for the Dashboard to generate example JSON object of an API.

Manually merged based on f9e008e
buger added a commit that referenced this pull request Jan 18, 2019
Having it in analytics repo cause a lot of issues, since we constantly forgot to update it, when adding new fields.

In addition to adding a schema, this PR also ensure automatic tests, which run schema validation against current API definition.

Also, added `DummyAPI` method, which returns pre-populated API definition record, with initialized nested fields. This method used for both schema tests, and for the Dashboard to generate example JSON object of an API.

Manually merged based on f9e008e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant