Skip to content

Commit 7387639

Browse files
committed
re-generator client using openapi-generator, but move api back to apis
to make review easier
1 parent 045bcd7 commit 7387639

File tree

1,737 files changed

+94486
-105045
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,737 files changed

+94486
-105045
lines changed

kubernetes/.openapi-generator/COMMIT

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Requested Commit: v3.3.4
2+
Actual Commit: 2353d71d4b02be6dbabe25aac1a9e56eb3b812a2

kubernetes/.openapi-generator/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.3.4
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
393337ecad1a5cbe41ea480529ec8bb4c1f3b378703b4dcd2dbaf3a4ec68a3ba

kubernetes/README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# kubernetes.client
2-
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
2+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
33

4-
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
4+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: v1.14.6
77
- Package version: 10.0.0-snapshot
8-
- Build package: io.swagger.codegen.languages.PythonClientCodegen
8+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99

1010
## Requirements.
1111

@@ -52,11 +52,13 @@ from kubernetes.client.rest import ApiException
5252
from pprint import pprint
5353

5454
# Configure API key authorization: BearerToken
55-
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
55+
configuration = kubernetes.client.Configuration()
56+
configuration.api_key['authorization'] = 'YOUR_API_KEY'
5657
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
57-
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'
58+
# configuration.api_key_prefix['authorization'] = 'Bearer'
59+
5860
# create an instance of the API class
59-
api_instance = kubernetes.client.AdmissionregistrationApi()
61+
api_instance = kubernetes.client.AdmissionregistrationApi(kubernetes.client.ApiClient(configuration))
6062

6163
try:
6264
api_response = api_instance.get_api_group()
@@ -68,7 +70,7 @@ except ApiException as e:
6870

6971
## Documentation for API Endpoints
7072

71-
All URIs are relative to *https://localhost*
73+
All URIs are relative to *http://localhost*
7274

7375
Class | Method | HTTP request | Description
7476
------------ | ------------- | ------------- | -------------
@@ -1589,3 +1591,4 @@ Class | Method | HTTP request | Description
15891591

15901592

15911593

1594+

kubernetes/client/__init__.py

Lines changed: 672 additions & 671 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)