[ResponseOps][MW] Fix MW oas docs capture. (#221727)

Closes #210326

## Summary

The public Maintenance Window API specification was missing from
`oas_docs/output/kibana.yaml`.

The `capture_oas_snapshot.sh` script had an outdated path.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: lcawl <lcawley@elastic.co>
This commit is contained in:
Antonio 2025-06-03 13:05:18 +02:00 committed by GitHub
parent 597b82b9e8
commit 7cad18fc68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 4611 additions and 1 deletions

View file

@ -20,7 +20,7 @@ cmd="node scripts/capture_oas_snapshot \
--include-path /api/dashboards \
--include-path /api/saved_objects/_import \
--include-path /api/saved_objects/_export \
--include-path /api/alerting/maintenance_window"
--include-path /api/maintenance_window"
if is_pr && ! is_auto_commit_disabled; then
cmd="$cmd --update"
fi