Skip to content

Commit

Permalink
update openapi-generator commit & regen
Browse files Browse the repository at this point in the history
  • Loading branch information
jonschoning committed Jul 9, 2023
1 parent 56bed08 commit d7e163c
Show file tree
Hide file tree
Showing 11 changed files with 2,302 additions and 8,261 deletions.
6 changes: 3 additions & 3 deletions kubernetes-client/kubernetes-client.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ library
, http-client-tls >=0.3
, jose-jwt >=0.8
, jsonpath >=0.1 && <0.4
, kubernetes-client-core ==0.4.3.0
, kubernetes-client-core ==0.4.4.0
, megaparsec ==9.*
, microlens >=0.4
, mtl >=2.2
Expand Down Expand Up @@ -110,7 +110,7 @@ test-suite example
, jose-jwt >=0.8
, jsonpath >=0.1 && <0.4
, kubernetes-client
, kubernetes-client-core ==0.4.3.0
, kubernetes-client-core ==0.4.4.0
, megaparsec ==9.*
, microlens >=0.4
, mtl >=2.2
Expand Down Expand Up @@ -167,7 +167,7 @@ test-suite spec
, jose-jwt >=0.8
, jsonpath >=0.1 && <0.4
, kubernetes-client
, kubernetes-client-core ==0.4.3.0
, kubernetes-client-core ==0.4.4.0
, megaparsec ==9.*
, microlens >=0.4
, mtl >=2.2
Expand Down
2 changes: 1 addition & 1 deletion kubernetes-client/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dependencies:
- http-client >=0.5 && <0.8
- http-client-tls >=0.3
- jose-jwt >=0.8
- kubernetes-client-core ==0.4.3.0
- kubernetes-client-core ==0.4.4.0
- megaparsec >=9 && <10
- microlens >=0.4
- mtl >=2.2
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/.openapi-generator/COMMIT
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Requested Commit: 078232acb56b0a8cdceded6508cec4999bf547d6
Actual Commit: 078232acb56b0a8cdceded6508cec4999bf547d6
Requested Commit: 2c5f8b30b4252ecae4447af14d85ef612e05238b
Actual Commit: 2c5f8b30b4252ecae4447af14d85ef612e05238b
2 changes: 1 addition & 1 deletion kubernetes/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.1-SNAPSHOT
7.0.0-SNAPSHOT
2 changes: 1 addition & 1 deletion kubernetes/.openapi-generator/swagger.json-default.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
681bfc7f139bd481224e485f53d0136ceb9699008bd99749547236a2122b45f0
d2177b4b429ef06042113f50444cfd76f13726569f9269bf9fa2351185f24b09
2 changes: 1 addition & 1 deletion kubernetes/kubernetes-client-core.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: kubernetes-client-core
version: 0.4.3.0
version: 0.4.4.0
synopsis: Auto-generated kubernetes-client-core API Client
description: .
Client library for calling the Kubernetes API based on http-client.
Expand Down
21 changes: 21 additions & 0 deletions kubernetes/lib/Kubernetes/OpenAPI/API/CustomObjects.hs
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,27 @@ instance MimeType mtype => Consumes DeleteNamespacedCustomObject mtype
instance Produces DeleteNamespacedCustomObject MimeJSON


-- *** getAPIResources

-- | @GET \/apis\/{group}\/{version}@
--
-- get available resources
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
getAPIResources
:: Group -- ^ "group" - The custom resource's group name
-> Version -- ^ "version" - The custom resource's version
-> KubernetesRequest GetAPIResources MimeNoContent V1APIResourceList MimeJSON
getAPIResources (Group group) (Version version) =
_mkRequest "GET" ["/apis/",toPath group,"/",toPath version]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data GetAPIResources
-- | @application/json@
instance Produces GetAPIResources MimeJSON


-- *** getClusterCustomObject

-- | @GET \/apis\/{group}\/{version}\/{plural}\/{name}@
Expand Down
10,475 changes: 2,225 additions & 8,250 deletions kubernetes/openapi.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion kubernetes/stack.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-19.6
resolver: lts-21.0
build:
haddock-arguments:
haddock-args:
Expand Down
45 changes: 45 additions & 0 deletions kubernetes/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -102106,6 +102106,51 @@
]
}
},
"/apis/{group}/{version}": {
"parameters": [
{
"name": "group",
"in": "path",
"required": true,
"description": "The custom resource's group name",
"type": "string"
},
{
"name": "version",
"in": "path",
"required": true,
"description": "The custom resource's version",
"type": "string"
}
],
"get": {
"operationId": "getAPIResources",
"description": "get available resources",
"tags": [
"custom_objects"
],
"consumes": [
"*/*"
],
"produces": [
"application/json"
],
"schemes": [
"https"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/v1.APIResourceList"
}
},
"401": {
"description": "Unauthorized"
}
}
}
},
"/apis/{group}/{version}/{plural}": {
"parameters": [
{
Expand Down
2 changes: 1 addition & 1 deletion settings
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ export PACKAGE_NAME="kubernetes"

export USERNAME="kubernetes"

OPENAPI_GENERATOR_COMMIT=078232acb56b0a8cdceded6508cec4999bf547d6
OPENAPI_GENERATOR_COMMIT=2c5f8b30b4252ecae4447af14d85ef612e05238b

0 comments on commit d7e163c

Please sign in to comment.