Skip to content

Commit

Permalink
Update swagger definitions (#336)
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Lopez <[email protected]>
  • Loading branch information
marclop authored Jun 10, 2021
1 parent 2aff049 commit 8081811
Show file tree
Hide file tree
Showing 5 changed files with 261 additions and 2 deletions.
22 changes: 22 additions & 0 deletions api/apidocs-user.json
Original file line number Diff line number Diff line change
Expand Up @@ -6082,6 +6082,13 @@
"ports" : {
"description" : "The ports that allow communication with the cluster using various protocols.",
"$ref" : "#/definitions/ClusterMetadataPortInfo"
},
"services_urls" : {
"type" : "array",
"description" : "A list of the URLs to access services that the resource provides at this time. Note that if the service is not running or has not started yet, the URL to access it won't be available",
"items" : {
"$ref" : "#/definitions/ServiceUrl"
}
}
},
"description" : "Information about the public and internal state, and the configuration settings of an Elasticsearch cluster."
Expand Down Expand Up @@ -9806,6 +9813,21 @@
},
"description" : "An Elasticsearch search request with a subset of options."
},
"ServiceUrl" : {
"type" : "object",
"required" : [ "service", "url" ],
"properties" : {
"service" : {
"type" : "string",
"description" : "Name of the service"
},
"url" : {
"type" : "string",
"description" : "The full URL to access the service"
}
},
"description" : "A URL to access the service of a resource"
},
"SnapshotStatusInfo" : {
"type" : "object",
"required" : [ "count", "healthy", "recent_success" ],
Expand Down
31 changes: 30 additions & 1 deletion api/apidocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -8459,7 +8459,14 @@
"summary" : "Resynchronize Deployments",
"description" : "Resynchronizes the search index for all the deployments.",
"operationId" : "resync-deployments",
"parameters" : [ ],
"parameters" : [ {
"name" : "skip_matching_version",
"in" : "query",
"description" : "When true, skips the document indexing when the version matches the in-memory copy.",
"required" : false,
"type" : "boolean",
"default" : true
} ],
"responses" : {
"200" : {
"description" : "The deployments resync operation executed successfully.",
Expand Down Expand Up @@ -25343,6 +25350,13 @@
"ports" : {
"description" : "The ports that allow communication with the cluster using various protocols.",
"$ref" : "#/definitions/ClusterMetadataPortInfo"
},
"services_urls" : {
"type" : "array",
"description" : "A list of the URLs to access services that the resource provides at this time. Note that if the service is not running or has not started yet, the URL to access it won't be available",
"items" : {
"$ref" : "#/definitions/ServiceUrl"
}
}
},
"description" : "Information about the public and internal state, and the configuration settings of an Elasticsearch cluster."
Expand Down Expand Up @@ -32832,6 +32846,21 @@
},
"description" : "A reorder request for Elasticsearch security realms."
},
"ServiceUrl" : {
"type" : "object",
"required" : [ "service", "url" ],
"properties" : {
"service" : {
"type" : "string",
"description" : "Name of the service"
},
"url" : {
"type" : "string",
"description" : "The full URL to access the service"
}
},
"description" : "A URL to access the service of a resource"
},
"SnapshotRepositoryConfiguration" : {
"type" : "object",
"required" : [ "settings", "type" ],
Expand Down
51 changes: 50 additions & 1 deletion pkg/client/deployments/resync_deployments_parameters.go

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

54 changes: 54 additions & 0 deletions pkg/models/cluster_metadata_info.go

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

105 changes: 105 additions & 0 deletions pkg/models/service_url.go

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

0 comments on commit 8081811

Please sign in to comment.