-
Notifications
You must be signed in to change notification settings - Fork 524
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
docs/spec: fix JSON Schema for arrays of objects #4516
Conversation
The properties for array items should be tested under "items", not added directly to the array object.
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.
Thanks for the fix, completely overlooked that!
💔 Build Failed
Expand to view the summary
Build stats
Test stats 🧪
Steps errorsExpand to view the steps failures
|
It looks like some of the properties are missing a
Looking at the structs, these are |
@russcam that is expected. |
Gotcha! |
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.
LGTM, thanks @axw 👍
Codecov Report
@@ Coverage Diff @@
## master #4516 +/- ##
=======================================
Coverage 75.94% 75.95%
=======================================
Files 161 161
Lines 9783 9784 +1
=======================================
+ Hits 7430 7431 +1
Misses 2353 2353
|
Unrelated test failure -- #4366 |
The properties for array items should be tested under "items", not added directly to the array object.
The properties for array items should be tested under "items", not added directly to the array object.
The properties for array items should be tested under "items", not added directly to the array object. Co-authored-by: Andrew Wilkins <[email protected]>
Motivation/summary
The properties for array items should be tested under "items", not added directly to the array object.
Checklist
- [ ] I have updated CHANGELOG.asciidocI have considered changes for:
- [ ] documentation- [ ] logging (add log lines, choose appropriate log selector, etc.)- [ ] metrics and monitoring (create issue for Kibana team to add metrics to visualizations, e.g. Kibana#44001)- [ ] telemetry- [ ] Elasticsearch Service (https://cloud.elastic.co)- [ ] Elastic Cloud Enterprise (https://www.elastic.co/products/ece)- [ ] Elastic Cloud on Kubernetes (https://www.elastic.co/elastic-cloud-kubernetes)How to test these changes
???
Talk to @russcam
Related issues
Closes #4515