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

[7.7] Validate REST specs against schema (#55117) #55562

Merged
merged 3 commits into from
Apr 22, 2020

Conversation

jakelandis
Copy link
Contributor

Backports the following commits to 7.7:

A JSON schema was recently introduced for the REST API specification. elastic#54252
This PR introduces a 3rd party validation tool to ensure that the
REST specification conforms to the schema.

The task is applied to the 3 projects that contain REST API specifications.
The plugin wires this task into the precommit commit task, and should be
considered as part of the public API for the build tools for any plugin
developer to contribute their plugin's specification.

An ignore parameter has been introduced for the task to allow specific
file to be ignored from the validation. The ignored files in this PR
will soon get issues logged and a link so they can be fixed.

Closes elastic#54314
@jakelandis
Copy link
Contributor Author

@elasticmachine test this please

@jakelandis jakelandis merged commit d37e6c1 into elastic:7.7 Apr 22, 2020
@jakelandis jakelandis deleted the backport/7.7/pr-55117 branch April 22, 2020 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant