Skip to content

Commit aa685f7

Browse files
author
CDO Jenkins
committed
Update OpenAPI.yaml from staging
1 parent af4612f commit aa685f7

17 files changed

+237
-245
lines changed

cdo-sdk/python/.openapi-generator/FILES

-8
Original file line numberDiff line numberDiff line change
@@ -376,12 +376,4 @@ setup.cfg
376376
setup.py
377377
test-requirements.txt
378378
test/__init__.py
379-
test/test_filter_registration.py
380-
test/test_http_status_code.py
381-
test/test_jsp_config_descriptor.py
382-
test/test_jsp_property_group_descriptor.py
383-
test/test_servlet_context.py
384-
test/test_servlet_registration.py
385-
test/test_session_cookie_config.py
386-
test/test_taglib_descriptor.py
387379
tox.ini

cdo-sdk/python/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Use the documentation to explore the endpoints Security Cloud Control has to off
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: 1.5.0
7-
- Package version: 1.2.550
7+
- Package version: 1.2.551
88
- Generator version: 7.4.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

cdo-sdk/python/cdo_sdk_python/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
""" # noqa: E501
1616

1717

18-
__version__ = "1.2.550"
18+
__version__ = "1.2.551"
1919

2020
# import apis into sdk package
2121
from cdo_sdk_python.api.ai_assistant_api import AIAssistantApi

cdo-sdk/python/cdo_sdk_python/api_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def __init__(
8888
self.default_headers[header_name] = header_value
8989
self.cookie = cookie
9090
# Set default User-Agent.
91-
self.user_agent = 'OpenAPI-Generator/1.2.550/python'
91+
self.user_agent = 'OpenAPI-Generator/1.2.551/python'
9292
self.client_side_validation = configuration.client_side_validation
9393

9494
def __enter__(self):

cdo-sdk/python/cdo_sdk_python/configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def to_debug_report(self):
380380
"OS: {env}\n"\
381381
"Python Version: {pyversion}\n"\
382382
"Version of the API: 1.5.0\n"\
383-
"SDK Package Version: 1.2.550".\
383+
"SDK Package Version: 1.2.551".\
384384
format(env=sys.platform, pyversion=sys.version)
385385

386386
def get_host_settings(self):

cdo-sdk/python/cdo_sdk_python/models/redirect_view.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ class RedirectView(BaseModel):
5050
hosts: Optional[List[StrictStr]] = None
5151
redirect_view: Optional[StrictBool] = Field(default=None, alias="redirectView")
5252
propagate_query_properties: Optional[StrictBool] = Field(default=None, alias="propagateQueryProperties")
53+
attributes: Optional[Dict[str, StrictStr]] = None
5354
attributes_map: Optional[Dict[str, Dict[str, Any]]] = Field(default=None, alias="attributesMap")
5455
attributes_csv: Optional[StrictStr] = Field(default=None, alias="attributesCSV")
55-
attributes: Optional[Dict[str, StrictStr]] = None
56-
__properties: ClassVar[List[str]] = ["applicationContext", "servletContext", "contentType", "requestContextAttribute", "staticAttributes", "exposePathVariables", "exposeContextBeansAsAttributes", "exposedContextBeanNames", "beanName", "url", "contextRelative", "http10Compatible", "exposeModelAttributes", "encodingScheme", "statusCode", "expandUriTemplateVariables", "propagateQueryParams", "hosts", "redirectView", "propagateQueryProperties", "attributesMap", "attributesCSV", "attributes"]
56+
__properties: ClassVar[List[str]] = ["applicationContext", "servletContext", "contentType", "requestContextAttribute", "staticAttributes", "exposePathVariables", "exposeContextBeansAsAttributes", "exposedContextBeanNames", "beanName", "url", "contextRelative", "http10Compatible", "exposeModelAttributes", "encodingScheme", "statusCode", "expandUriTemplateVariables", "propagateQueryParams", "hosts", "redirectView", "propagateQueryProperties", "attributes", "attributesMap", "attributesCSV"]
5757

5858
model_config = ConfigDict(
5959
populate_by_name=True,
@@ -135,9 +135,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
135135
"hosts": obj.get("hosts"),
136136
"redirectView": obj.get("redirectView"),
137137
"propagateQueryProperties": obj.get("propagateQueryProperties"),
138+
"attributes": obj.get("attributes"),
138139
"attributesMap": obj.get("attributesMap"),
139-
"attributesCSV": obj.get("attributesCSV"),
140-
"attributes": obj.get("attributes")
140+
"attributesCSV": obj.get("attributesCSV")
141141
})
142142
return _obj
143143

cdo-sdk/python/cdo_sdk_python/models/servlet_context.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ class ServletContext(BaseModel):
3737
major_version: Optional[StrictInt] = Field(default=None, alias="majorVersion")
3838
minor_version: Optional[StrictInt] = Field(default=None, alias="minorVersion")
3939
attribute_names: Optional[Dict[str, Any]] = Field(default=None, alias="attributeNames")
40+
servlet_registrations: Optional[Dict[str, ServletRegistration]] = Field(default=None, alias="servletRegistrations")
4041
context_path: Optional[StrictStr] = Field(default=None, alias="contextPath")
4142
init_parameter_names: Optional[Dict[str, Any]] = Field(default=None, alias="initParameterNames")
42-
servlet_registrations: Optional[Dict[str, ServletRegistration]] = Field(default=None, alias="servletRegistrations")
4343
session_tracking_modes: Optional[List[StrictStr]] = Field(default=None, alias="sessionTrackingModes")
4444
filter_registrations: Optional[Dict[str, FilterRegistration]] = Field(default=None, alias="filterRegistrations")
4545
session_cookie_config: Optional[SessionCookieConfig] = Field(default=None, alias="sessionCookieConfig")
@@ -53,7 +53,7 @@ class ServletContext(BaseModel):
5353
effective_minor_version: Optional[StrictInt] = Field(default=None, alias="effectiveMinorVersion")
5454
server_info: Optional[StrictStr] = Field(default=None, alias="serverInfo")
5555
servlet_context_name: Optional[StrictStr] = Field(default=None, alias="servletContextName")
56-
__properties: ClassVar[List[str]] = ["sessionTimeout", "classLoader", "majorVersion", "minorVersion", "attributeNames", "contextPath", "initParameterNames", "servletRegistrations", "sessionTrackingModes", "filterRegistrations", "sessionCookieConfig", "defaultSessionTrackingModes", "effectiveSessionTrackingModes", "jspConfigDescriptor", "virtualServerName", "requestCharacterEncoding", "responseCharacterEncoding", "effectiveMajorVersion", "effectiveMinorVersion", "serverInfo", "servletContextName"]
56+
__properties: ClassVar[List[str]] = ["sessionTimeout", "classLoader", "majorVersion", "minorVersion", "attributeNames", "servletRegistrations", "contextPath", "initParameterNames", "sessionTrackingModes", "filterRegistrations", "sessionCookieConfig", "defaultSessionTrackingModes", "effectiveSessionTrackingModes", "jspConfigDescriptor", "virtualServerName", "requestCharacterEncoding", "responseCharacterEncoding", "effectiveMajorVersion", "effectiveMinorVersion", "serverInfo", "servletContextName"]
5757

5858
@field_validator('session_tracking_modes')
5959
def session_tracking_modes_validate_enum(cls, value):
@@ -167,14 +167,14 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
167167
"majorVersion": obj.get("majorVersion"),
168168
"minorVersion": obj.get("minorVersion"),
169169
"attributeNames": obj.get("attributeNames"),
170-
"contextPath": obj.get("contextPath"),
171-
"initParameterNames": obj.get("initParameterNames"),
172170
"servletRegistrations": dict(
173171
(_k, ServletRegistration.from_dict(_v))
174172
for _k, _v in obj["servletRegistrations"].items()
175173
)
176174
if obj.get("servletRegistrations") is not None
177175
else None,
176+
"contextPath": obj.get("contextPath"),
177+
"initParameterNames": obj.get("initParameterNames"),
178178
"sessionTrackingModes": obj.get("sessionTrackingModes"),
179179
"filterRegistrations": dict(
180180
(_k, FilterRegistration.from_dict(_v))

cdo-sdk/python/cdo_sdk_python/models/session_cookie_config.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ class SessionCookieConfig(BaseModel):
3232
path: Optional[StrictStr] = None
3333
attributes: Optional[Dict[str, StrictStr]] = None
3434
comment: Optional[StrictStr] = None
35-
secure: Optional[StrictBool] = None
3635
domain: Optional[StrictStr] = None
36+
secure: Optional[StrictBool] = None
3737
max_age: Optional[StrictInt] = Field(default=None, alias="maxAge")
38-
__properties: ClassVar[List[str]] = ["httpOnly", "name", "path", "attributes", "comment", "secure", "domain", "maxAge"]
38+
__properties: ClassVar[List[str]] = ["httpOnly", "name", "path", "attributes", "comment", "domain", "secure", "maxAge"]
3939

4040
model_config = ConfigDict(
4141
populate_by_name=True,
@@ -93,8 +93,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
9393
"path": obj.get("path"),
9494
"attributes": obj.get("attributes"),
9595
"comment": obj.get("comment"),
96-
"secure": obj.get("secure"),
9796
"domain": obj.get("domain"),
97+
"secure": obj.get("secure"),
9898
"maxAge": obj.get("maxAge")
9999
})
100100
return _obj

cdo-sdk/python/docs/RedirectView.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ Name | Type | Description | Notes
2525
**hosts** | **List[str]** | | [optional]
2626
**redirect_view** | **bool** | | [optional]
2727
**propagate_query_properties** | **bool** | | [optional]
28+
**attributes** | **Dict[str, str]** | | [optional]
2829
**attributes_map** | **Dict[str, object]** | | [optional]
2930
**attributes_csv** | **str** | | [optional]
30-
**attributes** | **Dict[str, str]** | | [optional]
3131

3232
## Example
3333

cdo-sdk/python/docs/ServletContext.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Name | Type | Description | Notes
1010
**major_version** | **int** | | [optional]
1111
**minor_version** | **int** | | [optional]
1212
**attribute_names** | **object** | | [optional]
13+
**servlet_registrations** | [**Dict[str, ServletRegistration]**](ServletRegistration.md) | | [optional]
1314
**context_path** | **str** | | [optional]
1415
**init_parameter_names** | **object** | | [optional]
15-
**servlet_registrations** | [**Dict[str, ServletRegistration]**](ServletRegistration.md) | | [optional]
1616
**session_tracking_modes** | **List[str]** | | [optional]
1717
**filter_registrations** | [**Dict[str, FilterRegistration]**](FilterRegistration.md) | | [optional]
1818
**session_cookie_config** | [**SessionCookieConfig**](SessionCookieConfig.md) | | [optional]

cdo-sdk/python/docs/SessionCookieConfig.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Name | Type | Description | Notes
1010
**path** | **str** | | [optional]
1111
**attributes** | **Dict[str, str]** | | [optional]
1212
**comment** | **str** | | [optional]
13-
**secure** | **bool** | | [optional]
1413
**domain** | **str** | | [optional]
14+
**secure** | **bool** | | [optional]
1515
**max_age** | **int** | | [optional]
1616

1717
## Example

cdo-sdk/python/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "cdo_sdk_python"
3-
version = "1.2.550"
3+
version = "1.2.551"
44
description = "Cisco Security Cloud Control API"
55
authors = ["Cisco Security Cloud Control TAC <[email protected]>"]
66
license = "NoLicense"

cdo-sdk/python/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# prerequisite: setuptools
2323
# http://pypi.python.org/pypi/setuptools
2424
NAME = "cdo-sdk-python"
25-
VERSION = "1.2.550"
25+
VERSION = "1.2.551"
2626
PYTHON_REQUIRES = ">=3.7"
2727
REQUIRES = [
2828
"urllib3 >= 1.25.3, < 2.1.0",

object-service-openapi.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,15 @@ paths:
113113
$ref: '#/components/schemas/CreateRequest'
114114
required: true
115115
responses:
116-
"403":
117-
$ref: '#/components/responses/http403Forbidden'
118116
"201":
119117
description: A descriptive representation of the created Security Cloud
120118
Control object.
121119
content:
122120
application/json:
123121
schema:
124122
$ref: '#/components/schemas/ObjectResponse'
123+
"403":
124+
$ref: '#/components/responses/http403Forbidden'
125125
"401":
126126
$ref: '#/components/responses/http401Unauthorised'
127127
"400":
@@ -346,15 +346,15 @@ paths:
346346
responses:
347347
"403":
348348
$ref: '#/components/responses/http403Forbidden'
349+
"401":
350+
$ref: '#/components/responses/http401Unauthorised'
349351
"200":
350352
description: A descriptive representation of the updated Security Cloud
351353
Control object.
352354
content:
353355
application/json:
354356
schema:
355357
$ref: '#/components/schemas/ObjectResponse'
356-
"401":
357-
$ref: '#/components/responses/http401Unauthorised'
358358
"400":
359359
$ref: '#/components/responses/http400BadRequest'
360360
"500":
@@ -435,10 +435,6 @@ paths:
435435
responses:
436436
"403":
437437
$ref: '#/components/responses/http403Forbidden'
438-
"401":
439-
$ref: '#/components/responses/http401Unauthorised'
440-
"400":
441-
$ref: '#/components/responses/http400BadRequest'
442438
"200":
443439
description: Duplicates of the object.
444440
content:
@@ -447,6 +443,10 @@ paths:
447443
type: array
448444
items:
449445
$ref: '#/components/schemas/DuplicateGroupDto'
446+
"401":
447+
$ref: '#/components/responses/http401Unauthorised'
448+
"400":
449+
$ref: '#/components/responses/http400BadRequest'
450450
"500":
451451
description: Internal server error.
452452
content:
@@ -521,14 +521,14 @@ paths:
521521
responses:
522522
"403":
523523
$ref: '#/components/responses/http403Forbidden'
524+
"401":
525+
$ref: '#/components/responses/http401Unauthorised'
524526
"200":
525527
description: OK
526528
content:
527529
application/json:
528530
schema:
529531
$ref: '#/components/schemas/IssuesCount'
530-
"401":
531-
$ref: '#/components/responses/http401Unauthorised'
532532
"400":
533533
$ref: '#/components/responses/http400BadRequest'
534534
"500":

openapi.yaml

+11-11
Original file line numberDiff line numberDiff line change
@@ -9345,18 +9345,18 @@ components:
93459345
type: boolean
93469346
propagateQueryProperties:
93479347
type: boolean
9348+
attributes:
9349+
type: object
9350+
additionalProperties:
9351+
type: string
9352+
writeOnly: true
93489353
attributesMap:
93499354
type: object
93509355
additionalProperties:
93519356
type: object
93529357
attributesCSV:
93539358
type: string
93549359
writeOnly: true
9355-
attributes:
9356-
type: object
9357-
additionalProperties:
9358-
type: string
9359-
writeOnly: true
93609360
ServletContext:
93619361
type: object
93629362
properties:
@@ -9410,14 +9410,14 @@ components:
94109410
format: int32
94119411
attributeNames:
94129412
type: object
9413-
contextPath:
9414-
type: string
9415-
initParameterNames:
9416-
type: object
94179413
servletRegistrations:
94189414
type: object
94199415
additionalProperties:
94209416
$ref: '#/components/schemas/ServletRegistration'
9417+
contextPath:
9418+
type: string
9419+
initParameterNames:
9420+
type: object
94219421
sessionTrackingModes:
94229422
uniqueItems: true
94239423
type: array
@@ -9503,10 +9503,10 @@ components:
95039503
comment:
95049504
type: string
95059505
deprecated: true
9506-
secure:
9507-
type: boolean
95089506
domain:
95099507
type: string
9508+
secure:
9509+
type: boolean
95109510
maxAge:
95119511
type: integer
95129512
format: int32

postman-collection.json

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)