Skip to content

Commit

Permalink
feat(sonarr): add response type to custom format
Browse files Browse the repository at this point in the history
  • Loading branch information
devopsarr[bot] committed Jul 21, 2023
1 parent 31b7828 commit 8864f7a
Show file tree
Hide file tree
Showing 10 changed files with 132 additions and 262 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ Class | Method | HTTP request | Description
*CustomFormatApi* | [**CreateCustomFormat**](sonarr/docs/CustomFormatApi.md#createcustomformat) | **Post** /api/v3/customformat |
*CustomFormatApi* | [**DeleteCustomFormat**](sonarr/docs/CustomFormatApi.md#deletecustomformat) | **Delete** /api/v3/customformat/{id} |
*CustomFormatApi* | [**GetCustomFormatById**](sonarr/docs/CustomFormatApi.md#getcustomformatbyid) | **Get** /api/v3/customformat/{id} |
*CustomFormatApi* | [**GetCustomFormatSchema**](sonarr/docs/CustomFormatApi.md#getcustomformatschema) | **Get** /api/v3/customformat/schema |
*CustomFormatApi* | [**ListCustomFormat**](sonarr/docs/CustomFormatApi.md#listcustomformat) | **Get** /api/v3/customformat |
*CustomFormatApi* | [**ListCustomFormatSchema**](sonarr/docs/CustomFormatApi.md#listcustomformatschema) | **Get** /api/v3/customformat/schema |
*CustomFormatApi* | [**UpdateCustomFormat**](sonarr/docs/CustomFormatApi.md#updatecustomformat) | **Put** /api/v3/customformat/{id} |
*CutoffApi* | [**GetWantedCutoff**](sonarr/docs/CutoffApi.md#getwantedcutoff) | **Get** /api/v3/wanted/cutoff |
*CutoffApi* | [**GetWantedCutoffById**](sonarr/docs/CutoffApi.md#getwantedcutoffbyid) | **Get** /api/v3/wanted/cutoff/{id} |
Expand Down Expand Up @@ -191,7 +191,6 @@ Class | Method | HTTP request | Description
*IndexerConfigApi* | [**GetIndexerConfig**](sonarr/docs/IndexerConfigApi.md#getindexerconfig) | **Get** /api/v3/config/indexer |
*IndexerConfigApi* | [**GetIndexerConfigById**](sonarr/docs/IndexerConfigApi.md#getindexerconfigbyid) | **Get** /api/v3/config/indexer/{id} |
*IndexerConfigApi* | [**UpdateIndexerConfig**](sonarr/docs/IndexerConfigApi.md#updateindexerconfig) | **Put** /api/v3/config/indexer/{id} |
*InitializeJsApi* | [**GetInitializeJs**](sonarr/docs/InitializeJsApi.md#getinitializejs) | **Get** /initialize.js |
*LanguageApi* | [**GetLanguageById**](sonarr/docs/LanguageApi.md#getlanguagebyid) | **Get** /api/v3/language/{id} |
*LanguageApi* | [**ListLanguage**](sonarr/docs/LanguageApi.md#listlanguage) | **Get** /api/v3/language |
*LanguageProfileApi* | [**CreateLanguageProfile**](sonarr/docs/LanguageProfileApi.md#createlanguageprofile) | **Post** /api/v3/languageprofile |
Expand Down
2 changes: 0 additions & 2 deletions sonarr/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ api_import_list.go
api_import_list_exclusion.go
api_indexer.go
api_indexer_config.go
api_initialize_js_.go
api_language.go
api_language_profile.go
api_language_profile_schema.go
Expand Down Expand Up @@ -144,7 +143,6 @@ docs/IndexerBulkResource.md
docs/IndexerConfigApi.md
docs/IndexerConfigResource.md
docs/IndexerResource.md
docs/InitializeJsApi.md
docs/Language.md
docs/LanguageApi.md
docs/LanguageProfileApi.md
Expand Down
20 changes: 11 additions & 9 deletions sonarr/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -722,9 +722,15 @@ paths:
- CustomFormat
/api/v3/customformat/schema:
get:
operationId: GetCustomFormatSchema
operationId: ListCustomFormatSchema
responses:
"200":
content:
application/json:
schema:
items:
$ref: '#/components/schemas/CustomFormatSpecificationSchema'
type: array
description: Success
tags:
- CustomFormat
Expand Down Expand Up @@ -2320,14 +2326,6 @@ paths:
description: Success
tags:
- IndexerConfig
/initialize.js:
get:
operationId: GetInitialize.js
responses:
"200":
description: Success
tags:
- InitializeJs
/api/v3/language:
get:
operationId: ListLanguage
Expand Down Expand Up @@ -13663,6 +13661,7 @@ components:
downloadId: downloadId
seasonNumber: 1
episodeFileId: 5
customFormatScore: 2
quality:
quality:
name: name
Expand Down Expand Up @@ -14736,6 +14735,9 @@ components:
$ref: '#/components/schemas/CustomFormatResource'
nullable: true
type: array
customFormatScore:
format: int32
type: integer
rejections:
items:
$ref: '#/components/schemas/Rejection'
Expand Down
69 changes: 40 additions & 29 deletions sonarr/api_custom_format.go

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

136 changes: 0 additions & 136 deletions sonarr/api_initialize_js_.go

This file was deleted.

2 changes: 0 additions & 2 deletions sonarr/client.go

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

Loading

0 comments on commit 8864f7a

Please sign in to comment.