mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
**Resolves:** https://github.com/elastic/kibana/issues/183821 ## Summary This PR adds missing OpenAPI specifications for Lists API which are the following - `POST /api/lists` - `GET /api/lists` - `PUT /api/lists` - `DELETE /api/lists` - `PATCH /api/lists` - `GET /api/lists/_find` - `GET /api/lists/privileges` - `POST /api/lists/items` - `GET /api/lists/items` - `PUT /api/lists/items` - `DELETE /api/lists/items` - `PATCH /api/lists/items` - `POST /api/lists/items/_export` - `POST /api/lists/items/_import` - `GET /api/lists/items/_find` - `POST /api/lists/index` - `GET /api/lists/index` - `DELETE /api/lists/index` **Note:** Code generation is enabled for the added specs to verify that it works and produces expected results. Generated Zod schemas and types aren't integrated in the route's code. |
||
---|---|---|
.. | ||
schemas | ||
scripts | ||
kibana.jsonc | ||
package.json | ||
README.md | ||
tsconfig.json |
OpenAPI Common Schemas
This package contains common reusable schemas like NonEmptyString
to be reused by any OpenAPI specification defined inside Kibana.