Skip to content

Commit

Permalink
fix: remove middle elements from method name
Browse files Browse the repository at this point in the history
  • Loading branch information
devopsarr[bot] committed Oct 13, 2023
1 parent 153281d commit 084f14d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ Class | Method | HTTP request | Description
*LogFileApi* | [**ListLogFile**](sonarr/docs/LogFileApi.md#listlogfile) | **Get** /api/v3/log/file |
*ManualImportApi* | [**CreateManualImport**](sonarr/docs/ManualImportApi.md#createmanualimport) | **Post** /api/v3/manualimport |
*ManualImportApi* | [**ListManualImport**](sonarr/docs/ManualImportApi.md#listmanualimport) | **Get** /api/v3/manualimport |
*MediaCoverApi* | [**GetMediaCoverseriesIdByFilename**](sonarr/docs/MediaCoverApi.md#getmediacoverseriesidbyfilename) | **Get** /api/v3/mediacover/{seriesId}/{filename} |
*MediaCoverApi* | [**GetMediaCoverByFilename**](sonarr/docs/MediaCoverApi.md#getmediacoverbyfilename) | **Get** /api/v3/mediacover/{seriesId}/{filename} |
*MediaManagementConfigApi* | [**GetMediaManagementConfig**](sonarr/docs/MediaManagementConfigApi.md#getmediamanagementconfig) | **Get** /api/v3/config/mediamanagement |
*MediaManagementConfigApi* | [**GetMediaManagementConfigById**](sonarr/docs/MediaManagementConfigApi.md#getmediamanagementconfigbyid) | **Get** /api/v3/config/mediamanagement/{id} |
*MediaManagementConfigApi* | [**UpdateMediaManagementConfig**](sonarr/docs/MediaManagementConfigApi.md#updatemediamanagementconfig) | **Put** /api/v3/config/mediamanagement/{id} |
Expand Down
2 changes: 1 addition & 1 deletion sonarr/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2811,7 +2811,7 @@ paths:
- ManualImport
/api/v3/mediacover/{seriesId}/{filename}:
get:
operationId: "GetMediaCover{seriesId}ByFilename"
operationId: GetMediaCoverByFilename
parameters:
- explode: false
in: path
Expand Down
18 changes: 9 additions & 9 deletions sonarr/api_media_cover.go

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

12 changes: 6 additions & 6 deletions sonarr/docs/MediaCoverApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ All URIs are relative to *http://localhost:8989*

Method | HTTP request | Description
------------- | ------------- | -------------
[**GetMediaCoverseriesIdByFilename**](MediaCoverApi.md#GetMediaCoverseriesIdByFilename) | **Get** /api/v3/mediacover/{seriesId}/{filename} |
[**GetMediaCoverByFilename**](MediaCoverApi.md#GetMediaCoverByFilename) | **Get** /api/v3/mediacover/{seriesId}/{filename} |



## GetMediaCoverseriesIdByFilename
## GetMediaCoverByFilename

> GetMediaCoverseriesIdByFilename(ctx, seriesId, filename).Execute()
> GetMediaCoverByFilename(ctx, seriesId, filename).Execute()


Expand All @@ -32,9 +32,9 @@ func main() {

configuration := sonarrClient.NewConfiguration()
apiClient := sonarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.MediaCoverApi.GetMediaCoverseriesIdByFilename(context.Background(), seriesId, filename).Execute()
resp, r, err := apiClient.MediaCoverApi.GetMediaCoverByFilename(context.Background(), seriesId, filename).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MediaCoverApi.GetMediaCoverseriesIdByFilename``: %v\n", err)
fmt.Fprintf(os.Stderr, "Error when calling `MediaCoverApi.GetMediaCoverByFilename``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Expand All @@ -51,7 +51,7 @@ Name | Type | Description | Notes

### Other Parameters

Other parameters are passed through a pointer to a apiGetMediaCoverseriesIdByFilenameRequest struct via the builder pattern
Other parameters are passed through a pointer to a apiGetMediaCoverByFilenameRequest struct via the builder pattern


Name | Type | Description | Notes
Expand Down

0 comments on commit 084f14d

Please sign in to comment.