Skip to content

Commit

Permalink
Update openapi files for ECE 3.7.0 and regenerate swagger code (#461)
Browse files Browse the repository at this point in the history
Delete noteapi

Trying to fix some tests...

Signed-off-by: Konrad Beiske <konrad@beiske.org>
  • Loading branch information
beiske committed Apr 10, 2024
1 parent 4e9d5c6 commit 3faeb65
Show file tree
Hide file tree
Showing 41 changed files with 129 additions and 3,957 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SHELL := /bin/bash
export GO111MODULE ?= on
export VERSION ?= v1.17.0
export ECE_VERSION ?= $(shell cat ECE_VERSION)
export ECE_BRANCH ?= ms-101
export ECE_BRANCH ?= ms-105
ECE_DEF_FILE ?= api/version/$(ECE_VERSION).md
export GOBIN = $(shell pwd)/bin
BINARY := cloud-sdk-go
Expand Down
6 changes: 3 additions & 3 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cloud-sdk-go
Copyright 2019-2023 Elasticsearch B.V.
Copyright 2019-2024 Elasticsearch B.V.

This product includes software developed at Elasticsearch B.V. and
third-party software developed by the licenses listed below.
Expand Down Expand Up @@ -2114,10 +2114,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------

Dependency : github.com/stretchr/testify
Version: v1.8.4
Version: v1.9.0
Licence type (autodetected): MIT

Contents of probable licence file $GOMODCACHE/github.com/stretchr/testify@v1.8.4/LICENSE:
Contents of probable licence file $GOMODCACHE/github.com/stretchr/testify@v1.9.0/LICENSE:

MIT License

Expand Down
20 changes: 12 additions & 8 deletions api/apidocs-user.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"termsOfService" : ""
},
"host" : "api.elastic-cloud.com",
"basePath" : "/api/v1/",
"basePath" : "/api/v1",
"tags" : [ {
"name" : "Accounts"
}, {
Expand Down Expand Up @@ -6477,6 +6477,10 @@
"type" : "string",
"description" : "The user ID."
},
"organization_id" : {
"type" : "string",
"description" : "The organization ID linked to the API key"
},
"description" : {
"type" : "string",
"description" : "The API key description. TIP: Useful when you have multiple API keys."
Expand Down Expand Up @@ -9126,8 +9130,8 @@
},
"type" : {
"type" : "string",
"description" : "The type can either be ESS, ECE or generic. If none is specified, then generic is assumed.",
"enum" : [ "ECE", "ESS", "generic" ]
"description" : "The type can either be ESS, ECE, generic or proxy. If none is specified, then generic is assumed. If proxy is specified, trust_all should be false and trust_allowlist, scope_id and additional_node_names should be omitted.",
"enum" : [ "ECE", "ESS", "generic", "proxy" ]
},
"trust_all" : {
"type" : "boolean",
Expand Down Expand Up @@ -12793,15 +12797,15 @@
},
"SnapshotDependency" : {
"type" : "object",
"required" : [ "client_name", "resource_id" ],
"required" : [ "cluster_id", "deployment_id" ],
"properties" : {
"resource_id" : {
"cluster_id" : {
"type" : "string",
"description" : "Resource (Elasticsearch cluster) id"
"description" : "Elasticsearch cluster id"
},
"client_name" : {
"deployment_id" : {
"type" : "string",
"description" : "Client name that use to access additional resource"
"description" : "Deployment id"
}
},
"description" : "The additional resource of Elasticsearch cluster."
Expand Down
Loading

0 comments on commit 3faeb65

Please sign in to comment.