Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OAS] Simplify server declaration for case APIs #169889

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions x-pack/plugins/cases/docs/openapi/bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@
},
"servers": [
{
"url": "https://{kibanaUrl}",
"variables": {
"kibanaUrl": {
"default": "localhost:5601"
}
}
"url": "/"
}
],
"security": [
Expand Down
5 changes: 1 addition & 4 deletions x-pack/plugins/cases/docs/openapi/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ info:
name: Elastic License 2.0
url: https://www.elastic.co/licensing/elastic-license
servers:
- url: https://{kibanaUrl}
variables:
kibanaUrl:
default: localhost:5601
- url: /
security:
- basicAuth: []
- apiKeyAuth: []
Expand Down
5 changes: 1 addition & 4 deletions x-pack/plugins/cases/docs/openapi/entrypoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ tags:
- name: cases
description: Case APIs enable you to open and track issues.
servers:
- url: https://{kibanaUrl}
variables:
kibanaUrl:
default: localhost:5601
- url: /
paths:
# Paths in the default space
'/api/cases':
Expand Down
Loading