Skip to content

Commit

Permalink
feat: sdk generation alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
devopsarr[bot] committed Mar 24, 2023
1 parent 22f1fae commit 456dd81
Show file tree
Hide file tree
Showing 156 changed files with 3,689 additions and 3,771 deletions.
3 changes: 1 addition & 2 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ docs/UpdateChanges.md
docs/UpdateLogFileApi.md
docs/UpdateMechanism.md
docs/UpdateResource.md
docs/Version.md
pyproject.toml
setup.cfg
setup.py
sonarr/__init__.py
Expand Down Expand Up @@ -384,5 +384,4 @@ sonarr/models/unmapped_folder.py
sonarr/models/update_changes.py
sonarr/models/update_mechanism.py
sonarr/models/update_resource.py
sonarr/models/version.py
sonarr/rest.py
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.3.0-SNAPSHOT
6.5.0-SNAPSHOT
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ Sonarr API docs

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

[comment]: # (x-release-please-start-version)
- Package version: 0.5.0

[comment]: # (x-release-please-end)
- API version: 3.0.0
- Package version: 0.6.0

- Build package: org.openapitools.codegen.languages.PythonNextgenClientCodegen

## Requirements.
Expand Down Expand Up @@ -63,18 +67,18 @@ configuration = sonarr.Configuration(
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: X-Api-Key
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'

# Configure API key authorization: apikey
configuration.api_key['apikey'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['apikey'] = 'Bearer'

# Configure API key authorization: X-Api-Key
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'


# Enter a context with an instance of the API client
with sonarr.ApiClient(configuration) as api_client:
Expand Down Expand Up @@ -444,7 +448,6 @@ Class | Method | HTTP request | Description
- [UpdateChanges](docs/UpdateChanges.md)
- [UpdateMechanism](docs/UpdateMechanism.md)
- [UpdateResource](docs/UpdateResource.md)
- [Version](docs/Version.md)


## Documentation For Authorization
Expand Down
30 changes: 15 additions & 15 deletions docs/ApiInfoApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Method | HTTP request | Description

### Example

* Api Key Authentication (X-Api-Key):
* Api Key Authentication (apikey):
```python
from __future__ import print_function
import time
Expand All @@ -33,18 +33,18 @@ configuration = sonarr.Configuration(
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: X-Api-Key
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'

# Configure API key authorization: apikey
configuration.api_key['apikey'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['apikey'] = 'Bearer'

# Configure API key authorization: X-Api-Key
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'

# Enter a context with an instance of the API client
with sonarr.ApiClient(configuration) as api_client:
# Create an instance of the API class
Expand All @@ -56,7 +56,7 @@ with sonarr.ApiClient(configuration) as api_client:
print("Exception when calling ApiInfoApi->get_api: %s\n" % e)
```

* Api Key Authentication (apikey):
* Api Key Authentication (X-Api-Key):
```python
from __future__ import print_function
import time
Expand All @@ -75,18 +75,18 @@ configuration = sonarr.Configuration(
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: X-Api-Key
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'

# Configure API key authorization: apikey
configuration.api_key['apikey'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['apikey'] = 'Bearer'

# Configure API key authorization: X-Api-Key
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'

# Enter a context with an instance of the API client
with sonarr.ApiClient(configuration) as api_client:
# Create an instance of the API class
Expand All @@ -107,7 +107,7 @@ void (empty response body)

### Authorization

[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey)
[apikey](../README.md#apikey), [X-Api-Key](../README.md#X-Api-Key)

### HTTP request headers

Expand Down
60 changes: 30 additions & 30 deletions docs/AuthenticationApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Method | HTTP request | Description

### Example

* Api Key Authentication (X-Api-Key):
* Api Key Authentication (apikey):
```python
from __future__ import print_function
import time
Expand All @@ -34,18 +34,18 @@ configuration = sonarr.Configuration(
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: X-Api-Key
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'

# Configure API key authorization: apikey
configuration.api_key['apikey'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['apikey'] = 'Bearer'

# Configure API key authorization: X-Api-Key
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'

# Enter a context with an instance of the API client
with sonarr.ApiClient(configuration) as api_client:
# Create an instance of the API class
Expand All @@ -61,7 +61,7 @@ with sonarr.ApiClient(configuration) as api_client:
print("Exception when calling AuthenticationApi->create_login: %s\n" % e)
```

* Api Key Authentication (apikey):
* Api Key Authentication (X-Api-Key):
```python
from __future__ import print_function
import time
Expand All @@ -80,18 +80,18 @@ configuration = sonarr.Configuration(
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: X-Api-Key
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'

# Configure API key authorization: apikey
configuration.api_key['apikey'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['apikey'] = 'Bearer'

# Configure API key authorization: X-Api-Key
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'

# Enter a context with an instance of the API client
with sonarr.ApiClient(configuration) as api_client:
# Create an instance of the API class
Expand Down Expand Up @@ -122,7 +122,7 @@ void (empty response body)

### Authorization

[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey)
[apikey](../README.md#apikey), [X-Api-Key](../README.md#X-Api-Key)

### HTTP request headers

Expand All @@ -143,7 +143,7 @@ void (empty response body)

### Example

* Api Key Authentication (X-Api-Key):
* Api Key Authentication (apikey):
```python
from __future__ import print_function
import time
Expand All @@ -162,18 +162,18 @@ configuration = sonarr.Configuration(
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: X-Api-Key
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'

# Configure API key authorization: apikey
configuration.api_key['apikey'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['apikey'] = 'Bearer'

# Configure API key authorization: X-Api-Key
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'

# Enter a context with an instance of the API client
with sonarr.ApiClient(configuration) as api_client:
# Create an instance of the API class
Expand All @@ -185,7 +185,7 @@ with sonarr.ApiClient(configuration) as api_client:
print("Exception when calling AuthenticationApi->get_logout: %s\n" % e)
```

* Api Key Authentication (apikey):
* Api Key Authentication (X-Api-Key):
```python
from __future__ import print_function
import time
Expand All @@ -204,18 +204,18 @@ configuration = sonarr.Configuration(
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: X-Api-Key
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'

# Configure API key authorization: apikey
configuration.api_key['apikey'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['apikey'] = 'Bearer'

# Configure API key authorization: X-Api-Key
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'

# Enter a context with an instance of the API client
with sonarr.ApiClient(configuration) as api_client:
# Create an instance of the API class
Expand All @@ -236,7 +236,7 @@ void (empty response body)

### Authorization

[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey)
[apikey](../README.md#apikey), [X-Api-Key](../README.md#X-Api-Key)

### HTTP request headers

Expand Down
Loading

0 comments on commit 456dd81

Please sign in to comment.