Skip to content

Commit

Permalink
[OpenAPI][DOCS] Capitalize roles tag in serverless overlay (elastic#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl authored and CAWilson94 committed Nov 8, 2024
1 parent 32c7f1b commit 183e32d
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions oas_docs/overlays/kibana.overlays.serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ info:
title: Overlays for the Kibana API document
version: 0.0.1
actions:
# Clean up server definitions
# Clean up server definitions
- target: '$.servers.*'
description: Remove all servers so we can add our own.
remove: true
Expand All @@ -15,12 +15,12 @@ actions:
variables:
kibana_url:
default: localhost:5601
# Mark all operations as beta
# Mark all operations as beta
- target: "$.paths[*]['get','put','post','delete','options','head','patch','trace']"
description: Add x-beta
update:
x-beta: true
# Add some tag descriptions and displayNames
# Add some tag descriptions and displayNames
- target: '$.tags[?(@.name=="alerting")]'
description: Change tag description and displayName
update:
Expand Down Expand Up @@ -50,6 +50,14 @@ actions:
description: Change displayName
update:
x-displayName: "Machine learning"
- target: '$.tags[?(@.name=="roles")]'
description: Change displayName and description
update:
x-displayName: "Roles"
description: Manage the roles that grant Elasticsearch and Kibana privileges.
externalDocs:
description: Kibana role management
url: https://www.elastic.co/guide/en/kibana/master/kibana-role-management.html
- target: '$.tags[?(@.name=="slo")]'
description: Change displayName
update:
Expand All @@ -65,7 +73,7 @@ actions:
x-displayName: "System"
description: >
Get information about the system status, resource usage, and installed plugins.
# Remove extra tags from operations
# Remove extra tags from operations
- target: "$.paths[*][*].tags[1:]"
description: Remove all but first tag from operations
remove: true

0 comments on commit 183e32d

Please sign in to comment.