Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

Commit 8af8ef2

Browse files
authored
update schema 2.56.4 (#63)
1 parent 84a0c78 commit 8af8ef2

15 files changed

Lines changed: 13 additions & 32 deletions

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ templates:
4949
./support/api_generation/dump_templates.sh
5050

5151
# random generated file as target, just for timestamp
52-
defectdojo_api_generated/configuration.py: support/api_generation/custom_templates/*
52+
defectdojo_api_generated/configuration.py: support/api_generation/custom_templates/* support/openapi/openapi.json
5353
./support/api_generation/generate.sh
5454
$(MAKE) lint
5555

defectdojo_api_generated/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ def to_debug_report(self) -> str:
569569
'Python SDK Debug Report:\n'
570570
'OS: {env}\n'
571571
'Python Version: {pyversion}\n'
572-
'Version of the API: 2.56.2\n'
572+
'Version of the API: 2.56.4\n'
573573
'SDK Package Version: 1.0.0'.format(env=sys.platform, pyversion=sys.version)
574574
)
575575

defectdojo_api_generated/models/patched_system_settings_request.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ class PatchedSystemSettingsRequest(BaseModel):
164164
allow_anonymous_survey_repsonse: Optional[StrictBool] = Field(
165165
default=None, description='Enable anyone with a link to the survey to answer a survey'
166166
)
167-
credentials: Optional[Annotated[str, Field(strict=True, max_length=3000)]] = None
168167
disclaimer_notifications: Optional[Annotated[str, Field(strict=True, max_length=3000)]] = Field(
169168
default=None, description='Include this custom disclaimer on all notifications'
170169
)
@@ -305,7 +304,6 @@ class PatchedSystemSettingsRequest(BaseModel):
305304
'enable_notify_sla_jira_only',
306305
'enable_notify_sla_exponential_backoff',
307306
'allow_anonymous_survey_repsonse',
308-
'credentials',
309307
'disclaimer_notifications',
310308
'disclaimer_reports',
311309
'disclaimer_reports_forced',
@@ -491,7 +489,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
491489
'enable_notify_sla_jira_only': obj.get('enable_notify_sla_jira_only'),
492490
'enable_notify_sla_exponential_backoff': obj.get('enable_notify_sla_exponential_backoff'),
493491
'allow_anonymous_survey_repsonse': obj.get('allow_anonymous_survey_repsonse'),
494-
'credentials': obj.get('credentials'),
495492
'disclaimer_notifications': obj.get('disclaimer_notifications'),
496493
'disclaimer_reports': obj.get('disclaimer_reports'),
497494
'disclaimer_reports_forced': obj.get('disclaimer_reports_forced'),

defectdojo_api_generated/models/system_settings.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ class SystemSettings(BaseModel):
165165
allow_anonymous_survey_repsonse: Optional[StrictBool] = Field(
166166
default=None, description='Enable anyone with a link to the survey to answer a survey'
167167
)
168-
credentials: Optional[Annotated[str, Field(strict=True, max_length=3000)]] = None
169168
disclaimer_notifications: Optional[Annotated[str, Field(strict=True, max_length=3000)]] = Field(
170169
default=None, description='Include this custom disclaimer on all notifications'
171170
)
@@ -307,7 +306,6 @@ class SystemSettings(BaseModel):
307306
'enable_notify_sla_jira_only',
308307
'enable_notify_sla_exponential_backoff',
309308
'allow_anonymous_survey_repsonse',
310-
'credentials',
311309
'disclaimer_notifications',
312310
'disclaimer_reports',
313311
'disclaimer_reports_forced',
@@ -499,7 +497,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
499497
'enable_notify_sla_jira_only': obj.get('enable_notify_sla_jira_only'),
500498
'enable_notify_sla_exponential_backoff': obj.get('enable_notify_sla_exponential_backoff'),
501499
'allow_anonymous_survey_repsonse': obj.get('allow_anonymous_survey_repsonse'),
502-
'credentials': obj.get('credentials'),
503500
'disclaimer_notifications': obj.get('disclaimer_notifications'),
504501
'disclaimer_reports': obj.get('disclaimer_reports'),
505502
'disclaimer_reports_forced': obj.get('disclaimer_reports_forced'),

defectdojo_api_generated/models/system_settings_request.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ class SystemSettingsRequest(BaseModel):
164164
allow_anonymous_survey_repsonse: Optional[StrictBool] = Field(
165165
default=None, description='Enable anyone with a link to the survey to answer a survey'
166166
)
167-
credentials: Optional[Annotated[str, Field(strict=True, max_length=3000)]] = None
168167
disclaimer_notifications: Optional[Annotated[str, Field(strict=True, max_length=3000)]] = Field(
169168
default=None, description='Include this custom disclaimer on all notifications'
170169
)
@@ -305,7 +304,6 @@ class SystemSettingsRequest(BaseModel):
305304
'enable_notify_sla_jira_only',
306305
'enable_notify_sla_exponential_backoff',
307306
'allow_anonymous_survey_repsonse',
308-
'credentials',
309307
'disclaimer_notifications',
310308
'disclaimer_reports',
311309
'disclaimer_reports_forced',
@@ -491,7 +489,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
491489
'enable_notify_sla_jira_only': obj.get('enable_notify_sla_jira_only'),
492490
'enable_notify_sla_exponential_backoff': obj.get('enable_notify_sla_exponential_backoff'),
493491
'allow_anonymous_survey_repsonse': obj.get('allow_anonymous_survey_repsonse'),
494-
'credentials': obj.get('credentials'),
495492
'disclaimer_notifications': obj.get('disclaimer_notifications'),
496493
'disclaimer_reports': obj.get('disclaimer_reports'),
497494
'disclaimer_reports_forced': obj.get('disclaimer_reports_forced'),

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ DefectDojo - Open Source vulnerability Management made easy. Prefetch related pa
33

44
The `defectdojo_api_generated` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

6-
- API/package version: 2.56.2
6+
- API/package version: 2.56.4
77
- Generator version: 7.20.0
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99

docs/apimodels/PatchedSystemSettingsRequest.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ Name | Type | Description | Notes
5252
**enable_notify_sla_jira_only** | **bool** | Enables Notify when time to remediate according to Finding SLA's is breached for Findings that are linked to JIRA issues. Notification is disabled for Findings not linked to JIRA issues | [optional]
5353
**enable_notify_sla_exponential_backoff** | **bool** | Enable an exponential backoff strategy for SLA breach notifications, e.g. 1, 2, 4, 8, etc. Otherwise it alerts every day | [optional]
5454
**allow_anonymous_survey_repsonse** | **bool** | Enable anyone with a link to the survey to answer a survey | [optional]
55-
**credentials** | **str** | | [optional]
5655
**disclaimer_notifications** | **str** | Include this custom disclaimer on all notifications | [optional]
5756
**disclaimer_reports** | **str** | Include this custom disclaimer on generated reports | [optional]
5857
**disclaimer_reports_forced** | **bool** | Disclaimer will be added to all reports even if user didn't selected 'Include disclaimer'. | [optional]

docs/apimodels/SystemSettings.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ Name | Type | Description | Notes
5353
**enable_notify_sla_jira_only** | **bool** | Enables Notify when time to remediate according to Finding SLA's is breached for Findings that are linked to JIRA issues. Notification is disabled for Findings not linked to JIRA issues | [optional]
5454
**enable_notify_sla_exponential_backoff** | **bool** | Enable an exponential backoff strategy for SLA breach notifications, e.g. 1, 2, 4, 8, etc. Otherwise it alerts every day | [optional]
5555
**allow_anonymous_survey_repsonse** | **bool** | Enable anyone with a link to the survey to answer a survey | [optional]
56-
**credentials** | **str** | | [optional]
5756
**disclaimer_notifications** | **str** | Include this custom disclaimer on all notifications | [optional]
5857
**disclaimer_reports** | **str** | Include this custom disclaimer on generated reports | [optional]
5958
**disclaimer_reports_forced** | **bool** | Disclaimer will be added to all reports even if user didn't selected 'Include disclaimer'. | [optional]

docs/apimodels/SystemSettingsRequest.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ Name | Type | Description | Notes
5252
**enable_notify_sla_jira_only** | **bool** | Enables Notify when time to remediate according to Finding SLA's is breached for Findings that are linked to JIRA issues. Notification is disabled for Findings not linked to JIRA issues | [optional]
5353
**enable_notify_sla_exponential_backoff** | **bool** | Enable an exponential backoff strategy for SLA breach notifications, e.g. 1, 2, 4, 8, etc. Otherwise it alerts every day | [optional]
5454
**allow_anonymous_survey_repsonse** | **bool** | Enable anyone with a link to the survey to answer a survey | [optional]
55-
**credentials** | **str** | | [optional]
5655
**disclaimer_notifications** | **str** | Include this custom disclaimer on all notifications | [optional]
5756
**disclaimer_reports** | **str** | Include this custom disclaimer on generated reports | [optional]
5857
**disclaimer_reports_forced** | **bool** | Disclaimer will be added to all reports even if user didn't selected 'Include disclaimer'. | [optional]

support/openapi/OPENAPI_CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## v 2.56.4 (from v 2.56.2)
2+
3+
### Changed
4+
5+
#### Models
6+
- `PatchedSystemSettingsRequest`
7+
- `SystemSettings`
8+
- `SystemSettingsRequest`
9+
110
## v 2.56.2 (from v 2.56.1)
211

312
### New

0 commit comments

Comments
 (0)