Skip to content

[9.4] [Docs][Dashboards API] Add field descriptions to timeRangeSchema and refreshIntervalSchema (#263281)#263997

Merged
kibanamachine merged 1 commit into
elastic:9.4from
kibanamachine:backport/9.4/pr-263281
Apr 17, 2026
Merged

[9.4] [Docs][Dashboards API] Add field descriptions to timeRangeSchema and refreshIntervalSchema (#263281)#263997
kibanamachine merged 1 commit into
elastic:9.4from
kibanamachine:backport/9.4/pr-263281

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.4:

Questions ?

Please refer to the Backport tool documentation

…refreshIntervalSchema (elastic#263281)

## Summary

Adds API-agnostic field descriptions to two shared schema files used as
`$ref` components by the Dashboards API (and other APIs including Maps
and ML):

- **`kbn-es-query-server` — `timeRangeSchema`**: descriptions for
`from`, `to`, and `mode` fields with [date
math](https://www.elastic.co/docs/reference/elasticsearch/rest-apis/common-options#date-math)
links; `title` meta on `absolute`/`relative` variants; object-level
`title` and `description`.
- **`kbn-data-service-server` — `refreshIntervalSchema`**: fixed
inverted `pause` description; improved `value` description; object-level
`title` and `description`.

All descriptions are API-agnostic and follow the shared schema style
rules.

## Test plan

- [x] ESLint passes on both files
- [x] Descriptions render in combined OAS preview on Bump

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
(cherry picked from commit b066d86)
@kibanamachine kibanamachine merged commit a84c4d5 into elastic:9.4 Apr 17, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants