forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OAS] Remove
Elastic-Api-Version
(elastic#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 <[email protected]>
- Loading branch information
1 parent
c106f2c
commit 06f16a7
Showing
21 changed files
with
994 additions
and
6,614 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.