mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
# Backport This will backport the following commits from `main` to `8.17`: - [[OpenAPI] Fix Serverless API base URL (#202373)](https://github.com/elastic/kibana/pull/202373) <!--- 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":"2024-12-02T20:09:03Z","message":"[OpenAPI] Fix Serverless API base URL (#202373)","sha":"54370b209cb8f4fe02186355f69b8d2f4e4bc97e","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v9.0.0","docs","ci:project-deploy-observability","Team:obs-ux-management","backport:version","v8.17.0","v8.18.0","v8.16.2"],"number":202373,"url":"https://github.com/elastic/kibana/pull/202373","mergeCommit":{"message":"[OpenAPI] Fix Serverless API base URL (#202373)","sha":"54370b209cb8f4fe02186355f69b8d2f4e4bc97e"}},"sourceBranch":"main","suggestedTargetBranches":["8.17","8.x","8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202373","number":202373,"mergeCommit":{"message":"[OpenAPI] Fix Serverless API base URL (#202373)","sha":"54370b209cb8f4fe02186355f69b8d2f4e4bc97e"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
This commit is contained in:
parent
3ab37867b6
commit
d167064669
7 changed files with 27 additions and 32 deletions
|
@ -40,11 +40,6 @@ info:
|
|||
x-feedbackLink:
|
||||
label: Feedback
|
||||
url: https://github.com/elastic/docs-content/issues/new?assignees=&labels=feedback%2Ccommunity&projects=&template=api-feedback.yaml&title=%5BFeedback%5D%3A+
|
||||
servers:
|
||||
- url: https://{kibana_url}
|
||||
variables:
|
||||
kibana_url:
|
||||
default: localhost:5601
|
||||
security:
|
||||
- apiKeyAuth: []
|
||||
- basicAuth: []
|
||||
|
|
|
@ -4,6 +4,17 @@ info:
|
|||
title: Overlays for the Kibana API document
|
||||
version: 0.0.1
|
||||
actions:
|
||||
# Clean up server definitions
|
||||
- target: '$.servers.*'
|
||||
description: Remove all servers so we can add our own.
|
||||
remove: true
|
||||
- target: '$.servers'
|
||||
description: Add server into the now empty server array.
|
||||
update:
|
||||
- url: https://{kibana_url}
|
||||
variables:
|
||||
kibana_url:
|
||||
default: localhost:5601
|
||||
# Add an introduction to spaces
|
||||
- target: '$'
|
||||
description: Add an extra page about spaces
|
||||
|
|
|
@ -14,8 +14,12 @@
|
|||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "http://localhost:5601",
|
||||
"description": "local"
|
||||
"url": "https://{kibana_url}",
|
||||
"variables": {
|
||||
"kibana_url": {
|
||||
"default": "localhost:5601"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
|
@ -102,12 +106,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"get": {
|
||||
"summary": "Get a paginated list of SLOs",
|
||||
|
@ -738,12 +737,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -9,8 +9,10 @@ info:
|
|||
name: Elastic License 2.0
|
||||
url: https://www.elastic.co/licensing/elastic-license
|
||||
servers:
|
||||
- url: http://localhost:5601
|
||||
description: local
|
||||
- url: https://{kibana_url}
|
||||
variables:
|
||||
kibana_url:
|
||||
default: localhost:5601
|
||||
tags:
|
||||
- name: slo
|
||||
description: SLO APIs enable you to define, manage and track service-level objectives
|
||||
|
@ -63,8 +65,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/409_response'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
get:
|
||||
summary: Get a paginated list of SLOs
|
||||
operationId: findSlosOp
|
||||
|
@ -448,8 +448,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/403_response'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
components:
|
||||
parameters:
|
||||
kbn_xsrf:
|
||||
|
|
|
@ -12,8 +12,10 @@ tags:
|
|||
- name: slo
|
||||
description: SLO APIs enable you to define, manage and track service-level objectives
|
||||
servers:
|
||||
- url: "http://localhost:5601"
|
||||
description: local
|
||||
- url: https://{kibana_url}
|
||||
variables:
|
||||
kibana_url:
|
||||
default: localhost:5601
|
||||
paths:
|
||||
"/s/{spaceId}/api/observability/slos":
|
||||
$ref: "paths/s@{spaceid}@api@slos.yaml"
|
||||
|
|
|
@ -46,9 +46,6 @@ post:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '../components/schemas/409_response.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
||||
get:
|
||||
summary: Get a paginated list of SLOs
|
||||
operationId: findSlosOp
|
||||
|
|
|
@ -37,5 +37,3 @@ post:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '../components/schemas/403_response.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue