kibana/.github
Jean-Louis Leysens 975eeed255
[HTTP/OAS] Commit OAS snapshot (#183338)
Close https://github.com/elastic/kibana/issues/181992

## Summary

First iteration of a CLI to capture an OAS snapshot.

## How to test

Run `node ./scripts/capture_oas_snapshot.js --update --include-path
/api/status` and see result in `oas_docs/bundle.json`.

If you have the [bump CLI](https://www.npmjs.com/package/bump-cli)
installed you can preview the hosted output with `bump preview
./oas_docs/bundle.json`

## Notes
* Added ability to filter by `version`, `access` (public/internal) and
excluding paths explicitly to the OAS generation lib
* Follows the same general pattern as our other "capture" CLIs like
`packages/kbn-check-mappings-update-cli`
* Result includes only `/api/status` for now, waiting for other paths to
add missing parts

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-05-30 06:02:19 -07:00
..
codeql [Lens] [Datatable] toolbar tests rewritten to testing-library/react (#173075) 2024-01-08 13:35:34 +01:00
ISSUE_TEMPLATE Remove 8.0 breaking change template (#157044) 2023-05-08 15:25:24 -04:00
workflows Add workflow to trigger alert on failed test (#183741) 2024-05-21 18:57:37 -05:00
CODEOWNERS [HTTP/OAS] Commit OAS snapshot (#183338) 2024-05-30 06:02:19 -07:00
ISSUE_TEMPLATE.md Add elasticsearch version to issue template 2016-07-25 11:00:27 -05:00
paths-labeller.yml labeller: enable serverless deployment for oblt automatically (#181851) 2024-04-29 07:33:11 +00:00
PULL_REQUEST_TEMPLATE.md Updating PR template to add a checklist item (#171813) 2023-11-30 15:56:52 +01:00
relabel.yml Improve needs-team auto labeling regex (#143787) 2022-10-27 09:03:34 -07:00
stale.yml Remove Infra Monitoring UI team (#175745) 2024-01-30 13:33:57 -06:00