From 7bd6a64db37d95ceee95ad5f69da34cc773c42e8 Mon Sep 17 00:00:00 2001 From: Jakub Frejlach Date: Thu, 19 Sep 2024 16:23:15 +0200 Subject: [PATCH 1/2] Regenerate bindings for 4.3.0 release --- .../bindings/python_client/models/__init__.py | 2 +- .../bindings/python_client/models/flaw.py | 20 +++++++++---------- .../python_client/models/flaw_post.py | 20 +++++++++---------- .../python_client/models/issuer_enum.py | 1 + ..._api_v1_affects_cvss_scores_list_issuer.py | 1 + ..._api_v1_affects_list_cvss_scores_issuer.py | 1 + .../osidb_api_v1_affects_list_flaw_source.py | 1 + .../osidb_api_v1_flaws_create_response_201.py | 16 +++++++-------- ...db_api_v1_flaws_cvss_scores_list_issuer.py | 1 + ...db_api_v1_flaws_list_cvss_scores_issuer.py | 1 + .../models/osidb_api_v1_flaws_list_source.py | 1 + ...sidb_api_v1_flaws_retrieve_response_200.py | 16 +++++++-------- .../osidb_api_v1_flaws_update_response_200.py | 16 +++++++-------- ...pi_v1_trackers_list_affects_flaw_source.py | 1 + ...{source_642_enum.py => source_521_enum.py} | 3 ++- osidb_bindings/openapi_schema.yml | 17 ++++++++++++---- 16 files changed, 68 insertions(+), 50 deletions(-) rename osidb_bindings/bindings/python_client/models/{source_642_enum.py => source_521_enum.py} (97%) diff --git a/osidb_bindings/bindings/python_client/models/__init__.py b/osidb_bindings/bindings/python_client/models/__init__.py index 712151b..245e259 100644 --- a/osidb_bindings/bindings/python_client/models/__init__.py +++ b/osidb_bindings/bindings/python_client/models/__init__.py @@ -362,7 +362,7 @@ from .reject import Reject from .requires_cve_description_enum import RequiresCveDescriptionEnum from .resolution_enum import ResolutionEnum -from .source_642_enum import Source642Enum +from .source_521_enum import Source521Enum from .supported_products import SupportedProducts from .token_obtain_pair import TokenObtainPair from .token_refresh import TokenRefresh diff --git a/osidb_bindings/bindings/python_client/models/flaw.py b/osidb_bindings/bindings/python_client/models/flaw.py index 2076e71..9be5d69 100644 --- a/osidb_bindings/bindings/python_client/models/flaw.py +++ b/osidb_bindings/bindings/python_client/models/flaw.py @@ -19,7 +19,7 @@ from ..models.nist_cvss_validation_enum import NistCvssValidationEnum from ..models.package import Package from ..models.requires_cve_description_enum import RequiresCveDescriptionEnum -from ..models.source_642_enum import Source642Enum +from ..models.source_521_enum import Source521Enum from ..types import UNSET, OSIDBModel, Unset T = TypeVar("T", bound="Flaw") @@ -55,7 +55,7 @@ class Flaw(OSIDBModel): statement: Union[Unset, str] = UNSET cwe_id: Union[Unset, str] = UNSET unembargo_dt: Union[Unset, None, datetime.datetime] = UNSET - source: Union[BlankEnum, Source642Enum, Unset] = UNSET + source: Union[BlankEnum, Source521Enum, Unset] = UNSET reported_dt: Union[Unset, None, datetime.datetime] = UNSET mitigation: Union[Unset, str] = UNSET major_incident_state: Union[BlankEnum, MajorIncidentStateEnum, Unset] = UNSET @@ -211,11 +211,11 @@ def to_dict(self) -> Dict[str, Any]: source: Union[Unset, str] if isinstance(self.source, Unset): source = UNSET - elif isinstance(self.source, Source642Enum): + elif isinstance(self.source, Source521Enum): source = UNSET if not isinstance(self.source, Unset): - source = Source642Enum(self.source).value + source = Source521Enum(self.source).value else: source = UNSET @@ -539,11 +539,11 @@ def to_multipart(self) -> Dict[str, Any]: source: Union[Unset, str] if isinstance(self.source, Unset): source = UNSET - elif isinstance(self.source, Source642Enum): + elif isinstance(self.source, Source521Enum): source = UNSET if not isinstance(self.source, Unset): - source = Source642Enum(self.source).value + source = Source521Enum(self.source).value else: source = UNSET @@ -934,18 +934,18 @@ def _parse_requires_cve_description( else: unembargo_dt = isoparse(_unembargo_dt) - def _parse_source(data: object) -> Union[BlankEnum, Source642Enum, Unset]: + def _parse_source(data: object) -> Union[BlankEnum, Source521Enum, Unset]: if isinstance(data, Unset): return data try: if not isinstance(data, str): raise TypeError() _source_type_0 = data - source_type_0: Union[Unset, Source642Enum] + source_type_0: Union[Unset, Source521Enum] if isinstance(_source_type_0, Unset): source_type_0 = UNSET else: - source_type_0 = Source642Enum(_source_type_0) + source_type_0 = Source521Enum(_source_type_0) return source_type_0 except: # noqa: E722 @@ -1128,7 +1128,7 @@ def get_fields(): "statement": str, "cwe_id": str, "unembargo_dt": datetime.datetime, - "source": Union[BlankEnum, Source642Enum], + "source": Union[BlankEnum, Source521Enum], "reported_dt": datetime.datetime, "mitigation": str, "major_incident_state": Union[BlankEnum, MajorIncidentStateEnum], diff --git a/osidb_bindings/bindings/python_client/models/flaw_post.py b/osidb_bindings/bindings/python_client/models/flaw_post.py index d878d94..f03ae54 100644 --- a/osidb_bindings/bindings/python_client/models/flaw_post.py +++ b/osidb_bindings/bindings/python_client/models/flaw_post.py @@ -19,7 +19,7 @@ from ..models.nist_cvss_validation_enum import NistCvssValidationEnum from ..models.package import Package from ..models.requires_cve_description_enum import RequiresCveDescriptionEnum -from ..models.source_642_enum import Source642Enum +from ..models.source_521_enum import Source521Enum from ..types import UNSET, OSIDBModel, Unset T = TypeVar("T", bound="FlawPost") @@ -54,7 +54,7 @@ class FlawPost(OSIDBModel): statement: Union[Unset, str] = UNSET cwe_id: Union[Unset, str] = UNSET unembargo_dt: Union[Unset, None, datetime.datetime] = UNSET - source: Union[BlankEnum, Source642Enum, Unset] = UNSET + source: Union[BlankEnum, Source521Enum, Unset] = UNSET reported_dt: Union[Unset, None, datetime.datetime] = UNSET mitigation: Union[Unset, str] = UNSET major_incident_state: Union[BlankEnum, MajorIncidentStateEnum, Unset] = UNSET @@ -206,11 +206,11 @@ def to_dict(self) -> Dict[str, Any]: source: Union[Unset, str] if isinstance(self.source, Unset): source = UNSET - elif isinstance(self.source, Source642Enum): + elif isinstance(self.source, Source521Enum): source = UNSET if not isinstance(self.source, Unset): - source = Source642Enum(self.source).value + source = Source521Enum(self.source).value else: source = UNSET @@ -528,11 +528,11 @@ def to_multipart(self) -> Dict[str, Any]: source: Union[Unset, str] if isinstance(self.source, Unset): source = UNSET - elif isinstance(self.source, Source642Enum): + elif isinstance(self.source, Source521Enum): source = UNSET if not isinstance(self.source, Unset): - source = Source642Enum(self.source).value + source = Source521Enum(self.source).value else: source = UNSET @@ -914,18 +914,18 @@ def _parse_requires_cve_description( else: unembargo_dt = isoparse(_unembargo_dt) - def _parse_source(data: object) -> Union[BlankEnum, Source642Enum, Unset]: + def _parse_source(data: object) -> Union[BlankEnum, Source521Enum, Unset]: if isinstance(data, Unset): return data try: if not isinstance(data, str): raise TypeError() _source_type_0 = data - source_type_0: Union[Unset, Source642Enum] + source_type_0: Union[Unset, Source521Enum] if isinstance(_source_type_0, Unset): source_type_0 = UNSET else: - source_type_0 = Source642Enum(_source_type_0) + source_type_0 = Source521Enum(_source_type_0) return source_type_0 except: # noqa: E722 @@ -1106,7 +1106,7 @@ def get_fields(): "statement": str, "cwe_id": str, "unembargo_dt": datetime.datetime, - "source": Union[BlankEnum, Source642Enum], + "source": Union[BlankEnum, Source521Enum], "reported_dt": datetime.datetime, "mitigation": str, "major_incident_state": Union[BlankEnum, MajorIncidentStateEnum], diff --git a/osidb_bindings/bindings/python_client/models/issuer_enum.py b/osidb_bindings/bindings/python_client/models/issuer_enum.py index 9b5c4f7..ef01f1a 100644 --- a/osidb_bindings/bindings/python_client/models/issuer_enum.py +++ b/osidb_bindings/bindings/python_client/models/issuer_enum.py @@ -2,6 +2,7 @@ class IssuerEnum(str, Enum): + CVEORG = "CVEORG" RH = "RH" NIST = "NIST" OSV = "OSV" diff --git a/osidb_bindings/bindings/python_client/models/osidb_api_v1_affects_cvss_scores_list_issuer.py b/osidb_bindings/bindings/python_client/models/osidb_api_v1_affects_cvss_scores_list_issuer.py index cb00793..4cf70ef 100644 --- a/osidb_bindings/bindings/python_client/models/osidb_api_v1_affects_cvss_scores_list_issuer.py +++ b/osidb_bindings/bindings/python_client/models/osidb_api_v1_affects_cvss_scores_list_issuer.py @@ -2,6 +2,7 @@ class OsidbApiV1AffectsCvssScoresListIssuer(str, Enum): + CVEORG = "CVEORG" NIST = "NIST" OSV = "OSV" RH = "RH" diff --git a/osidb_bindings/bindings/python_client/models/osidb_api_v1_affects_list_cvss_scores_issuer.py b/osidb_bindings/bindings/python_client/models/osidb_api_v1_affects_list_cvss_scores_issuer.py index 92cefe8..aff1ac1 100644 --- a/osidb_bindings/bindings/python_client/models/osidb_api_v1_affects_list_cvss_scores_issuer.py +++ b/osidb_bindings/bindings/python_client/models/osidb_api_v1_affects_list_cvss_scores_issuer.py @@ -2,6 +2,7 @@ class OsidbApiV1AffectsListCvssScoresIssuer(str, Enum): + CVEORG = "CVEORG" NIST = "NIST" OSV = "OSV" RH = "RH" diff --git a/osidb_bindings/bindings/python_client/models/osidb_api_v1_affects_list_flaw_source.py b/osidb_bindings/bindings/python_client/models/osidb_api_v1_affects_list_flaw_source.py index 8814f5e..36f99fc 100644 --- a/osidb_bindings/bindings/python_client/models/osidb_api_v1_affects_list_flaw_source.py +++ b/osidb_bindings/bindings/python_client/models/osidb_api_v1_affects_list_flaw_source.py @@ -15,6 +15,7 @@ class OsidbApiV1AffectsListFlawSource(str, Enum): CORELABS = "CORELABS" CUSTOMER = "CUSTOMER" CVE = "CVE" + CVEORG = "CVEORG" DAILYDAVE = "DAILYDAVE" DEBIAN = "DEBIAN" DISTROS = "DISTROS" diff --git a/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_create_response_201.py b/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_create_response_201.py index 94a80d3..73d0166 100644 --- a/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_create_response_201.py +++ b/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_create_response_201.py @@ -18,7 +18,7 @@ from ..models.nist_cvss_validation_enum import NistCvssValidationEnum from ..models.package import Package from ..models.requires_cve_description_enum import RequiresCveDescriptionEnum -from ..models.source_642_enum import Source642Enum +from ..models.source_521_enum import Source521Enum from ..types import UNSET, OSIDBModel, Unset T = TypeVar("T", bound="OsidbApiV1FlawsCreateResponse201") @@ -54,7 +54,7 @@ class OsidbApiV1FlawsCreateResponse201(OSIDBModel): statement: Union[Unset, str] = UNSET cwe_id: Union[Unset, str] = UNSET unembargo_dt: Union[Unset, None, datetime.datetime] = UNSET - source: Union[BlankEnum, Source642Enum, Unset] = UNSET + source: Union[BlankEnum, Source521Enum, Unset] = UNSET reported_dt: Union[Unset, None, datetime.datetime] = UNSET mitigation: Union[Unset, str] = UNSET major_incident_state: Union[BlankEnum, MajorIncidentStateEnum, Unset] = UNSET @@ -214,11 +214,11 @@ def to_dict(self) -> Dict[str, Any]: source: Union[Unset, str] if isinstance(self.source, Unset): source = UNSET - elif isinstance(self.source, Source642Enum): + elif isinstance(self.source, Source521Enum): source = UNSET if not isinstance(self.source, Unset): - source = Source642Enum(self.source).value + source = Source521Enum(self.source).value else: source = UNSET @@ -601,18 +601,18 @@ def _parse_requires_cve_description( else: unembargo_dt = isoparse(_unembargo_dt) - def _parse_source(data: object) -> Union[BlankEnum, Source642Enum, Unset]: + def _parse_source(data: object) -> Union[BlankEnum, Source521Enum, Unset]: if isinstance(data, Unset): return data try: if not isinstance(data, str): raise TypeError() _source_type_0 = data - source_type_0: Union[Unset, Source642Enum] + source_type_0: Union[Unset, Source521Enum] if isinstance(_source_type_0, Unset): source_type_0 = UNSET else: - source_type_0 = Source642Enum(_source_type_0) + source_type_0 = Source521Enum(_source_type_0) return source_type_0 except: # noqa: E722 @@ -812,7 +812,7 @@ def get_fields(): "statement": str, "cwe_id": str, "unembargo_dt": datetime.datetime, - "source": Union[BlankEnum, Source642Enum], + "source": Union[BlankEnum, Source521Enum], "reported_dt": datetime.datetime, "mitigation": str, "major_incident_state": Union[BlankEnum, MajorIncidentStateEnum], diff --git a/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_cvss_scores_list_issuer.py b/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_cvss_scores_list_issuer.py index 3e7c02f..b66d2a0 100644 --- a/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_cvss_scores_list_issuer.py +++ b/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_cvss_scores_list_issuer.py @@ -2,6 +2,7 @@ class OsidbApiV1FlawsCvssScoresListIssuer(str, Enum): + CVEORG = "CVEORG" NIST = "NIST" OSV = "OSV" RH = "RH" diff --git a/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_list_cvss_scores_issuer.py b/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_list_cvss_scores_issuer.py index 473dfb0..1766db4 100644 --- a/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_list_cvss_scores_issuer.py +++ b/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_list_cvss_scores_issuer.py @@ -2,6 +2,7 @@ class OsidbApiV1FlawsListCvssScoresIssuer(str, Enum): + CVEORG = "CVEORG" NIST = "NIST" OSV = "OSV" RH = "RH" diff --git a/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_list_source.py b/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_list_source.py index 4fa5bb7..9fea818 100644 --- a/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_list_source.py +++ b/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_list_source.py @@ -15,6 +15,7 @@ class OsidbApiV1FlawsListSource(str, Enum): CORELABS = "CORELABS" CUSTOMER = "CUSTOMER" CVE = "CVE" + CVEORG = "CVEORG" DAILYDAVE = "DAILYDAVE" DEBIAN = "DEBIAN" DISTROS = "DISTROS" diff --git a/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_retrieve_response_200.py b/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_retrieve_response_200.py index ff91d3c..3fbf9ba 100644 --- a/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_retrieve_response_200.py +++ b/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_retrieve_response_200.py @@ -18,7 +18,7 @@ from ..models.nist_cvss_validation_enum import NistCvssValidationEnum from ..models.package import Package from ..models.requires_cve_description_enum import RequiresCveDescriptionEnum -from ..models.source_642_enum import Source642Enum +from ..models.source_521_enum import Source521Enum from ..types import UNSET, OSIDBModel, Unset T = TypeVar("T", bound="OsidbApiV1FlawsRetrieveResponse200") @@ -54,7 +54,7 @@ class OsidbApiV1FlawsRetrieveResponse200(OSIDBModel): statement: Union[Unset, str] = UNSET cwe_id: Union[Unset, str] = UNSET unembargo_dt: Union[Unset, None, datetime.datetime] = UNSET - source: Union[BlankEnum, Source642Enum, Unset] = UNSET + source: Union[BlankEnum, Source521Enum, Unset] = UNSET reported_dt: Union[Unset, None, datetime.datetime] = UNSET mitigation: Union[Unset, str] = UNSET major_incident_state: Union[BlankEnum, MajorIncidentStateEnum, Unset] = UNSET @@ -214,11 +214,11 @@ def to_dict(self) -> Dict[str, Any]: source: Union[Unset, str] if isinstance(self.source, Unset): source = UNSET - elif isinstance(self.source, Source642Enum): + elif isinstance(self.source, Source521Enum): source = UNSET if not isinstance(self.source, Unset): - source = Source642Enum(self.source).value + source = Source521Enum(self.source).value else: source = UNSET @@ -601,18 +601,18 @@ def _parse_requires_cve_description( else: unembargo_dt = isoparse(_unembargo_dt) - def _parse_source(data: object) -> Union[BlankEnum, Source642Enum, Unset]: + def _parse_source(data: object) -> Union[BlankEnum, Source521Enum, Unset]: if isinstance(data, Unset): return data try: if not isinstance(data, str): raise TypeError() _source_type_0 = data - source_type_0: Union[Unset, Source642Enum] + source_type_0: Union[Unset, Source521Enum] if isinstance(_source_type_0, Unset): source_type_0 = UNSET else: - source_type_0 = Source642Enum(_source_type_0) + source_type_0 = Source521Enum(_source_type_0) return source_type_0 except: # noqa: E722 @@ -812,7 +812,7 @@ def get_fields(): "statement": str, "cwe_id": str, "unembargo_dt": datetime.datetime, - "source": Union[BlankEnum, Source642Enum], + "source": Union[BlankEnum, Source521Enum], "reported_dt": datetime.datetime, "mitigation": str, "major_incident_state": Union[BlankEnum, MajorIncidentStateEnum], diff --git a/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_update_response_200.py b/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_update_response_200.py index 513319b..5e5ec0a 100644 --- a/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_update_response_200.py +++ b/osidb_bindings/bindings/python_client/models/osidb_api_v1_flaws_update_response_200.py @@ -18,7 +18,7 @@ from ..models.nist_cvss_validation_enum import NistCvssValidationEnum from ..models.package import Package from ..models.requires_cve_description_enum import RequiresCveDescriptionEnum -from ..models.source_642_enum import Source642Enum +from ..models.source_521_enum import Source521Enum from ..types import UNSET, OSIDBModel, Unset T = TypeVar("T", bound="OsidbApiV1FlawsUpdateResponse200") @@ -54,7 +54,7 @@ class OsidbApiV1FlawsUpdateResponse200(OSIDBModel): statement: Union[Unset, str] = UNSET cwe_id: Union[Unset, str] = UNSET unembargo_dt: Union[Unset, None, datetime.datetime] = UNSET - source: Union[BlankEnum, Source642Enum, Unset] = UNSET + source: Union[BlankEnum, Source521Enum, Unset] = UNSET reported_dt: Union[Unset, None, datetime.datetime] = UNSET mitigation: Union[Unset, str] = UNSET major_incident_state: Union[BlankEnum, MajorIncidentStateEnum, Unset] = UNSET @@ -214,11 +214,11 @@ def to_dict(self) -> Dict[str, Any]: source: Union[Unset, str] if isinstance(self.source, Unset): source = UNSET - elif isinstance(self.source, Source642Enum): + elif isinstance(self.source, Source521Enum): source = UNSET if not isinstance(self.source, Unset): - source = Source642Enum(self.source).value + source = Source521Enum(self.source).value else: source = UNSET @@ -601,18 +601,18 @@ def _parse_requires_cve_description( else: unembargo_dt = isoparse(_unembargo_dt) - def _parse_source(data: object) -> Union[BlankEnum, Source642Enum, Unset]: + def _parse_source(data: object) -> Union[BlankEnum, Source521Enum, Unset]: if isinstance(data, Unset): return data try: if not isinstance(data, str): raise TypeError() _source_type_0 = data - source_type_0: Union[Unset, Source642Enum] + source_type_0: Union[Unset, Source521Enum] if isinstance(_source_type_0, Unset): source_type_0 = UNSET else: - source_type_0 = Source642Enum(_source_type_0) + source_type_0 = Source521Enum(_source_type_0) return source_type_0 except: # noqa: E722 @@ -812,7 +812,7 @@ def get_fields(): "statement": str, "cwe_id": str, "unembargo_dt": datetime.datetime, - "source": Union[BlankEnum, Source642Enum], + "source": Union[BlankEnum, Source521Enum], "reported_dt": datetime.datetime, "mitigation": str, "major_incident_state": Union[BlankEnum, MajorIncidentStateEnum], diff --git a/osidb_bindings/bindings/python_client/models/osidb_api_v1_trackers_list_affects_flaw_source.py b/osidb_bindings/bindings/python_client/models/osidb_api_v1_trackers_list_affects_flaw_source.py index c96c3a1..1c320ba 100644 --- a/osidb_bindings/bindings/python_client/models/osidb_api_v1_trackers_list_affects_flaw_source.py +++ b/osidb_bindings/bindings/python_client/models/osidb_api_v1_trackers_list_affects_flaw_source.py @@ -15,6 +15,7 @@ class OsidbApiV1TrackersListAffectsFlawSource(str, Enum): CORELABS = "CORELABS" CUSTOMER = "CUSTOMER" CVE = "CVE" + CVEORG = "CVEORG" DAILYDAVE = "DAILYDAVE" DEBIAN = "DEBIAN" DISTROS = "DISTROS" diff --git a/osidb_bindings/bindings/python_client/models/source_642_enum.py b/osidb_bindings/bindings/python_client/models/source_521_enum.py similarity index 97% rename from osidb_bindings/bindings/python_client/models/source_642_enum.py rename to osidb_bindings/bindings/python_client/models/source_521_enum.py index a4aef72..495657c 100644 --- a/osidb_bindings/bindings/python_client/models/source_642_enum.py +++ b/osidb_bindings/bindings/python_client/models/source_521_enum.py @@ -1,7 +1,7 @@ from enum import Enum -class Source642Enum(str, Enum): +class Source521Enum(str, Enum): ADOBE = "ADOBE" APPLE = "APPLE" ASF = "ASF" @@ -14,6 +14,7 @@ class Source642Enum(str, Enum): CORELABS = "CORELABS" CUSTOMER = "CUSTOMER" CVE = "CVE" + CVEORG = "CVEORG" DAILYDAVE = "DAILYDAVE" DEBIAN = "DEBIAN" DISTROS = "DISTROS" diff --git a/osidb_bindings/openapi_schema.yml b/osidb_bindings/openapi_schema.yml index 8c014f7..2443993 100644 --- a/osidb_bindings/openapi_schema.yml +++ b/osidb_bindings/openapi_schema.yml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: title: OSIDB API - version: 4.2.0 + version: 4.3.2 description: REST API autogenerated docs for the OSIDB and its components paths: /auth/token: @@ -792,6 +792,7 @@ paths: schema: type: string enum: + - CVEORG - NIST - OSV - RH @@ -991,6 +992,7 @@ paths: - CORELABS - CUSTOMER - CVE + - CVEORG - DAILYDAVE - DEBIAN - DISTROS @@ -1576,6 +1578,7 @@ paths: schema: type: string enum: + - CVEORG - NIST - OSV - RH @@ -3018,6 +3021,7 @@ paths: schema: type: string enum: + - CVEORG - NIST - OSV - RH @@ -3521,6 +3525,7 @@ paths: - CORELABS - CUSTOMER - CVE + - CVEORG - DAILYDAVE - DEBIAN - DISTROS @@ -4413,6 +4418,7 @@ paths: schema: type: string enum: + - CVEORG - NIST - OSV - RH @@ -6086,6 +6092,7 @@ paths: - CORELABS - CUSTOMER - CVE + - CVEORG - DAILYDAVE - DEBIAN - DISTROS @@ -7707,7 +7714,7 @@ components: nullable: true source: oneOf: - - $ref: '#/components/schemas/Source642Enum' + - $ref: '#/components/schemas/Source521Enum' - $ref: '#/components/schemas/BlankEnum' reported_dt: type: string @@ -8388,7 +8395,7 @@ components: nullable: true source: oneOf: - - $ref: '#/components/schemas/Source642Enum' + - $ref: '#/components/schemas/Source521Enum' - $ref: '#/components/schemas/BlankEnum' reported_dt: type: string @@ -8711,6 +8718,7 @@ components: type: string IssuerEnum: enum: + - CVEORG - RH - NIST - OSV @@ -9137,7 +9145,7 @@ components: - DELEGATED - WONTREPORT type: string - Source642Enum: + Source521Enum: enum: - ADOBE - APPLE @@ -9151,6 +9159,7 @@ components: - CORELABS - CUSTOMER - CVE + - CVEORG - DAILYDAVE - DEBIAN - DISTROS From 70e10941eaf0d46a287f3b380d9826e6cdfc2334 Mon Sep 17 00:00:00 2001 From: Jakub Frejlach Date: Thu, 19 Sep 2024 16:23:23 +0200 Subject: [PATCH 2/2] Preparation of 4.3.0 release --- CHANGELOG.md | 2 ++ osidb_bindings.spec | 2 +- osidb_bindings/bindings/pyproject.toml | 2 +- osidb_bindings/constants.py | 2 +- setup.py | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 248f55f..5ec8c4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## [4.3.0] - 2024-09-19 + ## [4.2.0] - 2024-09-02 ## [4.1.2] - 2024-07-30 diff --git a/osidb_bindings.spec b/osidb_bindings.spec index 06ce6e6..a439f9e 100644 --- a/osidb_bindings.spec +++ b/osidb_bindings.spec @@ -1,5 +1,5 @@ %define name osidb_bindings -%define version 4.2.0 +%define version 4.3.0 %define release 0%{?dist} Name: %{name} diff --git a/osidb_bindings/bindings/pyproject.toml b/osidb_bindings/bindings/pyproject.toml index ef16a25..58516b3 100644 --- a/osidb_bindings/bindings/pyproject.toml +++ b/osidb_bindings/bindings/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bindings" -version = "4.2.0" +version = "4.3.0" description = "A client library for accessing OSIDB API" authors = [] diff --git a/osidb_bindings/constants.py b/osidb_bindings/constants.py index 72ee218..49ef452 100644 --- a/osidb_bindings/constants.py +++ b/osidb_bindings/constants.py @@ -6,7 +6,7 @@ from typing import List OSIDB_API_VERSION: str = "v1" -OSIDB_BINDINGS_VERSION: str = "4.2.0" +OSIDB_BINDINGS_VERSION: str = "4.3.0" OSIDB_BINDINGS_USERAGENT: str = f"osidb-bindings-{OSIDB_BINDINGS_VERSION}" OSIDB_BINDINGS_API_PATH: str = ".bindings.python_client.api.osidb" OSIDB_BINDINGS_PLACEHOLDER_FIELD: str = ( diff --git a/setup.py b/setup.py index ef33323..ca10640 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name="osidb_bindings", - version="4.2.0", + version="4.3.0", author="Jakub Frejlach, Red Hat Product Security", author_email="jfrejlac@redhat.com", description="Python bindings for accessing OSIDB API",