Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update openapitools/openapi-generator-cli docker tag to v7.3.0 #43

Merged
merged 1 commit into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.2.0
7.3.0
2 changes: 1 addition & 1 deletion docs/HistoryResource.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
**download_id** | **str** | | [optional]
**successful** | **bool** | | [optional]
**event_type** | [**HistoryEventType**](HistoryEventType.md) | | [optional]
**data** | **Dict[str, str]** | | [optional]
**data** | **Dict[str, Optional[str]]** | | [optional]

## Example

Expand Down
4 changes: 1 addition & 3 deletions prowlarr/api/app_profile_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from typing_extensions import Annotated

from pydantic import StrictInt, StrictStr

from typing import List, Optional

from typing import Optional
from prowlarr.models.app_profile_resource import AppProfileResource

from prowlarr.api_client import ApiClient
Expand Down
4 changes: 1 addition & 3 deletions prowlarr/api/application_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from typing_extensions import Annotated

from pydantic import StrictBool, StrictInt, StrictStr

from typing import List, Optional

from typing import Optional
from prowlarr.models.application_bulk_resource import ApplicationBulkResource
from prowlarr.models.application_resource import ApplicationResource

Expand Down
2 changes: 0 additions & 2 deletions prowlarr/api/authentication_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
from typing_extensions import Annotated

from pydantic import StrictStr

from typing import Optional


from prowlarr.api_client import ApiClient
from prowlarr.exceptions import ( # noqa: F401
ApiTypeError,
Expand Down
3 changes: 0 additions & 3 deletions prowlarr/api/backup_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
from typing_extensions import Annotated

from pydantic import StrictInt

from typing import List

from prowlarr.models.backup_resource import BackupResource

from prowlarr.api_client import ApiClient
Expand Down
4 changes: 1 addition & 3 deletions prowlarr/api/command_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from typing_extensions import Annotated

from pydantic import StrictInt

from typing import List, Optional

from typing import Optional
from prowlarr.models.command_resource import CommandResource

from prowlarr.api_client import ApiClient
Expand Down
4 changes: 1 addition & 3 deletions prowlarr/api/custom_filter_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from typing_extensions import Annotated

from pydantic import StrictInt, StrictStr

from typing import List, Optional

from typing import Optional
from prowlarr.models.custom_filter_resource import CustomFilterResource

from prowlarr.api_client import ApiClient
Expand Down
2 changes: 0 additions & 2 deletions prowlarr/api/development_config_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from typing_extensions import Annotated

from pydantic import StrictInt, StrictStr

from typing import Optional

from prowlarr.models.development_config_resource import DevelopmentConfigResource

from prowlarr.api_client import ApiClient
Expand Down
4 changes: 1 addition & 3 deletions prowlarr/api/download_client_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from typing_extensions import Annotated

from pydantic import StrictBool, StrictInt, StrictStr

from typing import List, Optional

from typing import Optional
from prowlarr.models.download_client_bulk_resource import DownloadClientBulkResource
from prowlarr.models.download_client_resource import DownloadClientResource

Expand Down
2 changes: 0 additions & 2 deletions prowlarr/api/download_client_config_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from typing_extensions import Annotated

from pydantic import StrictInt, StrictStr

from typing import Optional

from prowlarr.models.download_client_config_resource import DownloadClientConfigResource

from prowlarr.api_client import ApiClient
Expand Down
2 changes: 0 additions & 2 deletions prowlarr/api/file_system_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
from typing_extensions import Annotated

from pydantic import StrictBool, StrictStr

from typing import Optional


from prowlarr.api_client import ApiClient
from prowlarr.exceptions import ( # noqa: F401
ApiTypeError,
Expand Down
2 changes: 0 additions & 2 deletions prowlarr/api/health_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
from pydantic import validate_arguments, ValidationError
from typing_extensions import Annotated

from typing import List

from prowlarr.models.health_resource import HealthResource

from prowlarr.api_client import ApiClient
Expand Down
3 changes: 0 additions & 3 deletions prowlarr/api/history_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@
from typing_extensions import Annotated

from datetime import datetime

from pydantic import StrictBool, StrictInt, StrictStr

from typing import List, Optional

from prowlarr.models.history_event_type import HistoryEventType
from prowlarr.models.history_resource import HistoryResource
from prowlarr.models.history_resource_paging_resource import HistoryResourcePagingResource
Expand Down
2 changes: 0 additions & 2 deletions prowlarr/api/host_config_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from typing_extensions import Annotated

from pydantic import StrictInt, StrictStr

from typing import Optional

from prowlarr.models.host_config_resource import HostConfigResource

from prowlarr.api_client import ApiClient
Expand Down
4 changes: 1 addition & 3 deletions prowlarr/api/indexer_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from typing_extensions import Annotated

from pydantic import StrictBool, StrictInt, StrictStr

from typing import List, Optional

from typing import Optional
from prowlarr.models.indexer_bulk_resource import IndexerBulkResource
from prowlarr.models.indexer_resource import IndexerResource

Expand Down
2 changes: 0 additions & 2 deletions prowlarr/api/indexer_default_categories_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
from pydantic import validate_arguments, ValidationError
from typing_extensions import Annotated

from typing import List

from prowlarr.models.indexer_category import IndexerCategory

from prowlarr.api_client import ApiClient
Expand Down
4 changes: 1 addition & 3 deletions prowlarr/api/indexer_proxy_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from typing_extensions import Annotated

from pydantic import StrictBool, StrictInt, StrictStr

from typing import List, Optional

from typing import Optional
from prowlarr.models.indexer_proxy_resource import IndexerProxyResource

from prowlarr.api_client import ApiClient
Expand Down
3 changes: 0 additions & 3 deletions prowlarr/api/indexer_stats_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@
from typing_extensions import Annotated

from datetime import datetime

from pydantic import StrictStr

from typing import Optional

from prowlarr.models.indexer_stats_resource import IndexerStatsResource

from prowlarr.api_client import ApiClient
Expand Down
2 changes: 0 additions & 2 deletions prowlarr/api/indexer_status_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
from pydantic import validate_arguments, ValidationError
from typing_extensions import Annotated

from typing import List

from prowlarr.models.indexer_status_resource import IndexerStatusResource

from prowlarr.api_client import ApiClient
Expand Down
2 changes: 0 additions & 2 deletions prowlarr/api/localization_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
from pydantic import validate_arguments, ValidationError
from typing_extensions import Annotated

from typing import List

from prowlarr.models.localization_option import LocalizationOption

from prowlarr.api_client import ApiClient
Expand Down
2 changes: 0 additions & 2 deletions prowlarr/api/log_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from typing_extensions import Annotated

from pydantic import StrictInt, StrictStr

from typing import Optional

from prowlarr.models.log_resource_paging_resource import LogResourcePagingResource
from prowlarr.models.sort_direction import SortDirection

Expand Down
6 changes: 1 addition & 5 deletions prowlarr/api/log_file_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@
from pydantic import validate_arguments, ValidationError
from typing_extensions import Annotated

from pydantic import Field
from pydantic import Field, field_validator
from typing_extensions import Annotated
from pydantic import field_validator

from typing import Any, Dict, List

from prowlarr.models.log_file_resource import LogFileResource

from prowlarr.api_client import ApiClient
Expand Down
2 changes: 0 additions & 2 deletions prowlarr/api/newznab_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
from typing_extensions import Annotated

from pydantic import StrictInt, StrictStr

from typing import Optional


from prowlarr.api_client import ApiClient
from prowlarr.exceptions import ( # noqa: F401
ApiTypeError,
Expand Down
4 changes: 1 addition & 3 deletions prowlarr/api/notification_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from typing_extensions import Annotated

from pydantic import StrictBool, StrictInt, StrictStr

from typing import List, Optional

from typing import Optional
from prowlarr.models.notification_resource import NotificationResource

from prowlarr.api_client import ApiClient
Expand Down
2 changes: 0 additions & 2 deletions prowlarr/api/search_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from typing_extensions import Annotated

from pydantic import StrictInt, StrictStr

from typing import List, Optional

from prowlarr.models.release_resource import ReleaseResource

from prowlarr.api_client import ApiClient
Expand Down
4 changes: 1 addition & 3 deletions prowlarr/api/static_resource_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@
from pydantic import validate_arguments, ValidationError
from typing_extensions import Annotated

from pydantic import Field
from pydantic import Field, StrictStr, field_validator
from typing_extensions import Annotated
from pydantic import StrictStr, field_validator


from prowlarr.api_client import ApiClient
from prowlarr.exceptions import ( # noqa: F401
Expand Down
4 changes: 1 addition & 3 deletions prowlarr/api/tag_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from typing_extensions import Annotated

from pydantic import StrictInt, StrictStr

from typing import List, Optional

from typing import Optional
from prowlarr.models.tag_resource import TagResource

from prowlarr.api_client import ApiClient
Expand Down
3 changes: 0 additions & 3 deletions prowlarr/api/tag_details_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
from typing_extensions import Annotated

from pydantic import StrictInt

from typing import List

from prowlarr.models.tag_details_resource import TagDetailsResource

from prowlarr.api_client import ApiClient
Expand Down
3 changes: 0 additions & 3 deletions prowlarr/api/task_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
from typing_extensions import Annotated

from pydantic import StrictInt

from typing import List

from prowlarr.models.task_resource import TaskResource

from prowlarr.api_client import ApiClient
Expand Down
2 changes: 0 additions & 2 deletions prowlarr/api/ui_config_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from typing_extensions import Annotated

from pydantic import StrictInt, StrictStr

from typing import Optional

from prowlarr.models.ui_config_resource import UiConfigResource

from prowlarr.api_client import ApiClient
Expand Down
2 changes: 0 additions & 2 deletions prowlarr/api/update_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
from pydantic import validate_arguments, ValidationError
from typing_extensions import Annotated

from typing import List

from prowlarr.models.update_resource import UpdateResource

from prowlarr.api_client import ApiClient
Expand Down
6 changes: 1 addition & 5 deletions prowlarr/api/update_log_file_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@
from pydantic import validate_arguments, ValidationError
from typing_extensions import Annotated

from pydantic import Field
from pydantic import Field, field_validator
from typing_extensions import Annotated
from pydantic import field_validator

from typing import Any, Dict, List

from prowlarr.models.log_file_resource import LogFileResource

from prowlarr.api_client import ApiClient
Expand Down
6 changes: 3 additions & 3 deletions prowlarr/api_response.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""API response object."""

from __future__ import annotations
from typing import Any, Dict, Optional, Generic, TypeVar
from pydantic import Field, StrictInt, StrictStr, StrictBytes, BaseModel
from typing import Optional, Generic, Mapping, TypeVar
from pydantic import Field, StrictInt, StrictBytes, BaseModel

T = TypeVar("T")

Expand All @@ -12,7 +12,7 @@ class ApiResponse(BaseModel, Generic[T]):
"""

status_code: StrictInt = Field(description="HTTP status code")
headers: Optional[Dict[StrictStr, StrictStr]] = Field(None, description="HTTP headers")
headers: Optional[Mapping[str, str]] = Field(None, description="HTTP headers")
data: T = Field(description="Deserialized data given the data type")
raw_data: StrictBytes = Field(description="Raw data (HTTP response body)")

Expand Down
2 changes: 1 addition & 1 deletion prowlarr/models/api_info_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import json


from typing import Any, ClassVar, Dict, List, Optional

from pydantic import BaseModel

class ApiInfoResource(BaseModel):
Expand Down
2 changes: 1 addition & 1 deletion prowlarr/models/app_profile_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import json


from typing import Any, ClassVar, Dict, Optional

from pydantic import BaseModel

class AppProfileResource(BaseModel):
Expand Down
2 changes: 1 addition & 1 deletion prowlarr/models/application_bulk_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import json


from typing import Any, ClassVar, Dict, List, Optional

from pydantic import BaseModel
from prowlarr.models.application_sync_level import ApplicationSyncLevel
from prowlarr.models.apply_tags import ApplyTags
Expand Down
Loading