[8.11] [OAS] Simplify server declaration in ML APIs (#169885) (#169988)

# Backport

This will backport the following commits from `main` to `8.11`:
- [[OAS] Simplify server declaration in ML APIs
(#169885)](https://github.com/elastic/kibana/pull/169885)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-10-26T20:45:47Z","message":"[OAS]
Simplify server declaration in ML APIs
(#169885)","sha":"8924218d6ad5cb0c96f7ac7fe08d8f5a97fa2e48","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","docs","backport:prev-minor","v8.12.0"],"number":169885,"url":"https://github.com/elastic/kibana/pull/169885","mergeCommit":{"message":"[OAS]
Simplify server declaration in ML APIs
(#169885)","sha":"8924218d6ad5cb0c96f7ac7fe08d8f5a97fa2e48"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169885","number":169885,"mergeCommit":{"message":"[OAS]
Simplify server declaration in ML APIs
(#169885)","sha":"8924218d6ad5cb0c96f7ac7fe08d8f5a97fa2e48"}}]}]
BACKPORT-->
This commit is contained in:
Lisa Cawley 2023-10-27 00:37:10 -07:00 committed by GitHub
parent b20341a4df
commit 9829476388
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ tags:
- name: ml
description: Machine learning
servers:
- url: https://localhost:5601
- url: /
paths:
/s/{spaceId}/api/ml/saved_objects/sync:
get: