diff --git a/internal/dinosaur/pkg/api/private/api/openapi.yaml b/internal/dinosaur/pkg/api/private/api/openapi.yaml index bae6e67ddc..f3a448de89 100644 --- a/internal/dinosaur/pkg/api/private/api/openapi.yaml +++ b/internal/dinosaur/pkg/api/private/api/openapi.yaml @@ -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}: @@ -545,6 +545,8 @@ components: $ref: '#/components/schemas/ManagedCentral_allOf_spec_scanner_db' ManagedCentral_allOf_spec: properties: + centralCRYAML: + type: string owners: items: type: string diff --git a/internal/dinosaur/pkg/api/private/api_agent_clusters.go b/internal/dinosaur/pkg/api/private/api_agent_clusters.go index bc937d1294..54cbc5d6d4 100644 --- a/internal/dinosaur/pkg/api/private/api_agent_clusters.go +++ b/internal/dinosaur/pkg/api/private/api_agent_clusters.go @@ -124,7 +124,7 @@ func (a *AgentClustersApiService) GetCentral(ctx _context.Context, id string) (M } /* -GetCentrals Get the list of ManagedaCentrals for the specified agent cluster +GetCentrals Get the list of ManagedCentrals for the specified agent cluster - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id The ID of record diff --git a/internal/dinosaur/pkg/api/private/model_managed_central_all_of_spec.go b/internal/dinosaur/pkg/api/private/model_managed_central_all_of_spec.go index eb1c4de5d2..ff5e370ea9 100644 --- a/internal/dinosaur/pkg/api/private/model_managed_central_all_of_spec.go +++ b/internal/dinosaur/pkg/api/private/model_managed_central_all_of_spec.go @@ -12,6 +12,7 @@ package private // ManagedCentralAllOfSpec struct for ManagedCentralAllOfSpec type ManagedCentralAllOfSpec struct { + CentralCRYAML string `json:"centralCRYAML,omitempty"` Owners []string `json:"owners,omitempty"` Auth ManagedCentralAllOfSpecAuth `json:"auth,omitempty"` UiEndpoint ManagedCentralAllOfSpecUiEndpoint `json:"uiEndpoint,omitempty"` diff --git a/openapi/fleet-manager-private.yaml b/openapi/fleet-manager-private.yaml index cedd4fc701..56a2f52e0e 100644 --- a/openapi/fleet-manager-private.yaml +++ b/openapi/fleet-manager-private.yaml @@ -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: @@ -285,6 +285,8 @@ components: spec: type: object properties: + centralCRYAML: + type: string owners: type: array items: