Skip to content

Commit

Permalink
ROX-19013: Add central YAML to API (#1232)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludydoo authored Sep 11, 2023
1 parent f4133e0 commit 7ba2479
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion internal/dinosaur/pkg/api/private/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ paths:
description: Auth token is not valid.
security:
- Bearer: []
summary: Get the list of ManagedaCentrals for the specified agent cluster
summary: Get the list of ManagedCentrals for the specified agent cluster
tags:
- Agent Clusters
/api/rhacs/v1/agent-clusters/centrals/{id}:
Expand Down Expand Up @@ -545,6 +545,8 @@ components:
$ref: '#/components/schemas/ManagedCentral_allOf_spec_scanner_db'
ManagedCentral_allOf_spec:
properties:
centralCRYAML:
type: string
owners:
items:
type: string
Expand Down
2 changes: 1 addition & 1 deletion internal/dinosaur/pkg/api/private/api_agent_clusters.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion openapi/fleet-manager-private.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ paths:
security:
- Bearer: []
operationId: getCentrals
summary: Get the list of ManagedaCentrals for the specified agent cluster
summary: Get the list of ManagedCentrals for the specified agent cluster

"/api/rhacs/v1/agent-clusters/centrals/{id}":
get:
Expand Down Expand Up @@ -285,6 +285,8 @@ components:
spec:
type: object
properties:
centralCRYAML:
type: string
owners:
type: array
items:
Expand Down

0 comments on commit 7ba2479

Please sign in to comment.