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

Corrected and expanded the SchemaAttributePatch request and response payload #285

Merged
merged 2 commits into from
Nov 28, 2023
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* **Feature** Add support for User Account API (allowing lock and unlock). [#282](https://github.com/patrickcping/pingone-go-sdk-v2/pull/282)
* **Enhancement** Expand the `GroupMembership` data model. [#284](https://github.com/patrickcping/pingone-go-sdk-v2/pull/284)
* **Enhancement** Simplified the `GroupMembershipApi` request and response payload models. [#284](https://github.com/patrickcping/pingone-go-sdk-v2/pull/284)
* **Enhancement** Corrected and expanded the `SchemaAttributePatch` request and response payload. [#285](https://github.com/patrickcping/pingone-go-sdk-v2/pull/285)

# Release (2023-11-10)

Expand Down
2 changes: 2 additions & 0 deletions management/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ docs/RolesApi.md
docs/Schema.md
docs/SchemaAttribute.md
docs/SchemaAttributeEnumeratedValuesInner.md
docs/SchemaAttributePatch.md
docs/SchemaAttributeRegexValidation.md
docs/SchemaAttributeSchema.md
docs/SchemasApi.md
Expand Down Expand Up @@ -1004,6 +1005,7 @@ model_role_permissions_inner.go
model_schema.go
model_schema_attribute.go
model_schema_attribute_enumerated_values_inner.go
model_schema_attribute_patch.go
model_schema_attribute_regex_validation.go
model_schema_attribute_schema.go
model_sign_on_policy.go
Expand Down
1 change: 1 addition & 0 deletions management/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* **Feature** Add support for User Account API (allowing lock and unlock). [#282](https://github.com/patrickcping/pingone-go-sdk-v2/pull/282)
* **Enhancement** Expand the `GroupMembership` data model. [#284](https://github.com/patrickcping/pingone-go-sdk-v2/pull/284)
* **Enhancement** Simplified the `GroupMembershipApi` request and response payload models. [#284](https://github.com/patrickcping/pingone-go-sdk-v2/pull/284)
* **Enhancement** Corrected and expanded the `SchemaAttributePatch` request and response payload. [#285](https://github.com/patrickcping/pingone-go-sdk-v2/pull/285)

# v0.32.0 (2023-11-10)

Expand Down
1 change: 1 addition & 0 deletions management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@ Class | Method | HTTP request | Description
- [Schema](docs/Schema.md)
- [SchemaAttribute](docs/SchemaAttribute.md)
- [SchemaAttributeEnumeratedValuesInner](docs/SchemaAttributeEnumeratedValuesInner.md)
- [SchemaAttributePatch](docs/SchemaAttributePatch.md)
- [SchemaAttributeRegexValidation](docs/SchemaAttributeRegexValidation.md)
- [SchemaAttributeSchema](docs/SchemaAttributeSchema.md)
- [SignOnPolicy](docs/SignOnPolicy.md)
Expand Down
172 changes: 171 additions & 1 deletion management/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19369,7 +19369,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/SchemaAttribute'
$ref: '#/components/schemas/SchemaAttributePatch'
responses:
"400":
content:
Expand Down Expand Up @@ -33106,6 +33106,176 @@ components:
- name
- type
type: object
SchemaAttributePatch:
example:
regexValidation:
valuesPatternShouldNotMatch:
- valuesPatternShouldNotMatch
- valuesPatternShouldNotMatch
requirements: requirements
valuesPatternShouldMatch:
- valuesPatternShouldMatch
- valuesPatternShouldMatch
pattern: pattern
displayName: displayName
unique: true
name: name
schemaType: null
description: description
type: null
multiValued: true
enumeratedValues:
- archived: true
description: description
value: value
- archived: true
description: description
value: value
enabled: true
required: true
subAttributes:
- schema:
id: id
_links:
next:
href: https://openapi-generator.tech
self:
href: https://openapi-generator.tech
displayName: displayName
description: description
type: null
enumeratedValues:
- archived: true
description: description
value: value
- archived: true
description: description
value: value
enabled: true
required: true
subAttributes:
- null
- null
regexValidation:
valuesPatternShouldNotMatch:
- valuesPatternShouldNotMatch
- valuesPatternShouldNotMatch
requirements: requirements
valuesPatternShouldMatch:
- valuesPatternShouldMatch
- valuesPatternShouldMatch
pattern: pattern
environment:
id: id
unique: true
name: name
schemaType: null
id: id
ldapAttribute: ldapAttribute
multiValued: true
- schema:
id: id
_links:
next:
href: https://openapi-generator.tech
self:
href: https://openapi-generator.tech
displayName: displayName
description: description
type: null
enumeratedValues:
- archived: true
description: description
value: value
- archived: true
description: description
value: value
enabled: true
required: true
subAttributes:
- null
- null
regexValidation:
valuesPatternShouldNotMatch:
- valuesPatternShouldNotMatch
- valuesPatternShouldNotMatch
requirements: requirements
valuesPatternShouldMatch:
- valuesPatternShouldMatch
- valuesPatternShouldMatch
pattern: pattern
environment:
id: id
unique: true
name: name
schemaType: null
id: id
ldapAttribute: ldapAttribute
multiValued: true
properties:
description:
description: "A string that specifies an optional property that specifies\
\ the description of the attribute. If provided, it must not be an empty\
\ string. Valid characters consists of any Unicode letter, mark (for example,\
\ accent or umlaut), numeric character, punctuation character, or space."
type: string
displayName:
description: "A string that specifies an optional property that specifies\
\ the display name of the attribute such as 'T-shirt size’. If provided,\
\ it must not be an empty string. Valid characters consist of any Unicode\
\ letter, mark (for example, accent or umlaut), numeric character, forward\
\ slash, dot, apostrophe, underscore, space, or hyphen."
type: string
enabled:
description: A boolean that specifies whether or not the attribute is enabled.
This is a required property for POST and PUT operations; it cannot be
omitted or explicitly set to null. Disabled attributes are ignored on
create/update and not returned on read.
type: boolean
name:
description: "A string that specifies the name of the attribute. The attribute\
\ name must be provided during creation, must not be empty and must not\
\ exceed 256 characters. It must also be unique within the schema for\
\ an environment. It must start with a letter and may be followed by letters,\
\ numbers or hyphens."
type: string
required:
description: A boolean that specifies whether or not the attribute is required.
Required attributes must be provided a value during create/update. Defaults
to false if not provided.
type: boolean
schemaType:
$ref: '#/components/schemas/EnumSchemaAttributeSchemaType'
subAttributes:
description: "The list of sub-attributes of this attribute. Only `COMPLEX`\
\ attribute types can have sub-attributes, and only one-level of nesting\
\ is allowed. The leaf attribute definition must have a type of `STRING`\
\ or `JSON`. A `COMPLEX` attribute definition must have at least one child\
\ attribute definition."
items:
$ref: '#/components/schemas/SchemaAttribute'
type: array
type:
$ref: '#/components/schemas/EnumSchemaAttributeType'
unique:
description: A boolean that specifies whether or not the attribute must
have a unique value within the environment. This is a required property
for POST and PUT operations; it cannot be omitted or explicitly set to
null.
type: boolean
multiValued:
description: "A boolean that specifies whether the attribute has multiple\
\ values or a single one. This value can only change from false to true,\
\ as changing from true to false is not allowed. Maximum number of values\
\ stored is 1,000."
type: boolean
enumeratedValues:
items:
$ref: '#/components/schemas/SchemaAttribute_enumeratedValues_inner'
type: array
regexValidation:
$ref: '#/components/schemas/SchemaAttribute_regexValidation'
type: object
SignOnPolicy:
example:
createdAt: createdAt
Expand Down
8 changes: 4 additions & 4 deletions management/api_schemas.go

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

Loading
Loading