kibana/packages/core/http/core-http-server-internal
Jean-Louis Leysens 53b0015340
[OAS] Remove Elastic-Api-Version (#202923)
## Summary

Due to the much slower rate of versioning public APIs we have decided to
remove the Elastic-Api-Version body and header information from the spec
entirely.

This also cleans up the spec when rendered on our hosted OAS docs.

Removes:
1. `Elastic-Api-Version` from the request/response bodies for all public
APIs
2. `Elastic-Api-Version` header parameter from all public APIs

Docs for internal APIs will still have this included as they always
require a version environments.

## To revewers

Important changes are all in `packages/kbn-router-to-openapispec` and
`src/core/server/integration_tests/http/oas.test.ts`, the rest is very
minor or generated/snapshotted changes.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-05 17:05:42 +01:00
..
src [OAS] Remove Elastic-Api-Version (#202923) 2024-12-05 17:05:42 +01:00
index.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
jest.config.js Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kibana.jsonc Sustainable Kibana Architecture: Categorise straightforward packages (#199630) 2024-11-22 10:33:25 +01:00
package.json Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
README.md Move server-side http implementation to packages (#136105) 2022-07-13 11:06:40 +02:00
tsconfig.json [HTTP/OAS] HTTP API (#181144) 2024-04-19 06:07:35 -07:00

@kbn/core-http-server-internal

This package contains the internal types and implementation for core's server-side http service