Skip to content

Commit

Permalink
Regen (#7)
Browse files Browse the repository at this point in the history
* regen

* gitignore

* vendor
  • Loading branch information
laliconfigcat authored Aug 24, 2023
1 parent 23287a8 commit 54026a0
Show file tree
Hide file tree
Showing 28 changed files with 1,195 additions and 78 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ _testmain.go
*.exe
*.test
*.prof

vendor/
20 changes: 2 additions & 18 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ docs/EnvironmentModel.md
docs/EnvironmentModelHaljson.md
docs/EnvironmentsApi.md
docs/EvaluationVersion.md
docs/FeatureFlagLimitations.md
docs/FeatureFlagSettingValuesApi.md
docs/FeatureFlagSettingValuesUsingSDKKeyApi.md
docs/FeatureFlagSettingValuesUsingSDKKeyV2Api.md
Expand Down Expand Up @@ -203,6 +204,7 @@ model_environment_access_type.go
model_environment_model.go
model_environment_model_haljson.go
model_evaluation_version.go
model_feature_flag_limitations.go
model_flag_reference.go
model_initial_value.go
model_integration_link_detail.go
Expand Down Expand Up @@ -270,22 +272,4 @@ model_user_condition_model.go
model_user_model.go
model_value_model.go
response.go
test/api_audit_logs_test.go
test/api_code_references_test.go
test/api_configs_test.go
test/api_environments_test.go
test/api_feature_flag_setting_values_test.go
test/api_feature_flag_setting_values_using_sdk_key_test.go
test/api_feature_flag_setting_values_using_sdk_key_v2_test.go
test/api_feature_flag_setting_values_v2_test.go
test/api_feature_flags_settings_test.go
test/api_integration_links_test.go
test/api_me_test.go
test/api_members_test.go
test/api_organizations_test.go
test/api_permission_groups_test.go
test/api_products_test.go
test/api_sdk_keys_test.go
test/api_segments_test.go
test/api_tags_test.go
utils.go
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ Class | Method | HTTP request | Description
- [EnvironmentModel](docs/EnvironmentModel.md)
- [EnvironmentModelHaljson](docs/EnvironmentModelHaljson.md)
- [EvaluationVersion](docs/EvaluationVersion.md)
- [FeatureFlagLimitations](docs/FeatureFlagLimitations.md)
- [FlagReference](docs/FlagReference.md)
- [InitialValue](docs/InitialValue.md)
- [IntegrationLinkDetail](docs/IntegrationLinkDetail.md)
Expand Down
141 changes: 119 additions & 22 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5166,7 +5166,6 @@ components:
- webHookCreated
- webHookChanged
- webHookDeleted
- subscriptionChanged
- permissionGroupCreated
- permissionGroupChanged
- permissionGroupDeleted
Expand Down Expand Up @@ -5937,6 +5936,14 @@ components:
description: description
order: 0
reasonRequired: true
featureFlagLimitations:
maxComparisonValueListItemLength: 2
maxComparisonValueListLength: 3
maxPercentageOptionCount: 2
maxConditionPerTargetingRuleCount: 7
maxComparisonValueLength: 9
maxStringFlagValueLength: 4
maxTargetingRuleCount: 7
settingFormulas:
- lastVersionId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
targetingRules:
Expand Down Expand Up @@ -6300,6 +6307,8 @@ components:
$ref: '#/components/schemas/ConfigSettingFormulaModel'
nullable: true
type: array
featureFlagLimitations:
$ref: '#/components/schemas/FeatureFlagLimitations'
type: object
ConfigSettingFormulasModel-haljson:
properties:
Expand All @@ -6313,6 +6322,8 @@ components:
$ref: '#/components/schemas/ConfigSettingFormulaModel'
nullable: true
type: array
featureFlagLimitations:
$ref: '#/components/schemas/FeatureFlagLimitations'
_links:
$ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment__links'
type: object
Expand Down Expand Up @@ -6434,6 +6445,14 @@ components:
description: description
order: 0
reasonRequired: true
featureFlagLimitations:
maxComparisonValueListItemLength: 2
maxComparisonValueListLength: 3
maxPercentageOptionCount: 2
maxConditionPerTargetingRuleCount: 7
maxComparisonValueLength: 9
maxStringFlagValueLength: 4
maxTargetingRuleCount: 7
readOnly: true
settingValues:
- rolloutRules:
Expand Down Expand Up @@ -6566,6 +6585,8 @@ components:
$ref: '#/components/schemas/ConfigSettingValueModel'
nullable: true
type: array
featureFlagLimitations:
$ref: '#/components/schemas/FeatureFlagLimitations'
type: object
ConfigSettingValuesModel-haljson:
properties:
Expand All @@ -6578,6 +6599,8 @@ components:
$ref: '#/components/schemas/ConfigSettingValueModel'
nullable: true
type: array
featureFlagLimitations:
$ref: '#/components/schemas/FeatureFlagLimitations'
_links:
$ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment__links'
type: object
Expand Down Expand Up @@ -7068,6 +7091,58 @@ components:
- v1
- v2
type: string
FeatureFlagLimitations:
additionalProperties: false
description: Subscription limitations regarding Feature flag or Setting values
and targeting.
example:
maxComparisonValueListItemLength: 2
maxComparisonValueListLength: 3
maxPercentageOptionCount: 2
maxConditionPerTargetingRuleCount: 7
maxComparisonValueLength: 9
maxStringFlagValueLength: 4
maxTargetingRuleCount: 7
properties:
maxPercentageOptionCount:
description: Maximum number of percentage options a Feature Flag or Setting
can have within a targeting rule.
format: int32
readOnly: true
type: integer
maxTargetingRuleCount:
description: Maximum number of targeting rules a Feature Flag or Setting
can have.
format: int32
readOnly: true
type: integer
maxComparisonValueLength:
description: Maximum length of a text comparison value.
format: int32
readOnly: true
type: integer
maxComparisonValueListLength:
description: Maximum item count of a list comparison value.
format: int32
readOnly: true
type: integer
maxComparisonValueListItemLength:
description: Maximum length of a list comparison value's item.
format: int32
readOnly: true
type: integer
maxStringFlagValueLength:
description: Maximum length of a text Setting's value.
format: int32
readOnly: true
type: integer
maxConditionPerTargetingRuleCount:
description: Maximum number of `AND` conditions a Feature Flag or Setting
can have within a targeting rule.
format: int32
readOnly: true
type: integer
type: object
FlagReference:
additionalProperties: false
example:
Expand Down Expand Up @@ -8464,6 +8539,14 @@ components:
description: description
order: 0
reasonRequired: true
featureFlagLimitations:
maxComparisonValueListItemLength: 2
maxComparisonValueListLength: 3
maxPercentageOptionCount: 2
maxConditionPerTargetingRuleCount: 7
maxComparisonValueLength: 9
maxStringFlagValueLength: 4
maxTargetingRuleCount: 7
integrationLinks:
- integrationLinkType: null
description: description
Expand Down Expand Up @@ -8551,6 +8634,8 @@ components:
$ref: '#/components/schemas/EnvironmentModel'
readOnly:
type: boolean
featureFlagLimitations:
$ref: '#/components/schemas/FeatureFlagLimitations'
type: object
SettingFormulaModel-haljson:
properties:
Expand Down Expand Up @@ -8588,6 +8673,8 @@ components:
$ref: '#/components/schemas/SettingFormulaModel_haljson__embedded'
readOnly:
type: boolean
featureFlagLimitations:
$ref: '#/components/schemas/FeatureFlagLimitations'
_links:
$ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment__links'
type: object
Expand Down Expand Up @@ -8755,6 +8842,19 @@ components:
value: ""
- percentage: 0
value: ""
lastUpdaterUserEmail: lastUpdaterUserEmail
readOnly: true
setting:
createdAt: 2000-01-23T04:56:07.000+00:00
creatorEmail: creatorEmail
hint: hint
name: name
creatorFullName: creatorFullName
isWatching: true
settingType: null
key: key
settingId: 6
order: 1
environment:
product:
productId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Expand All @@ -8771,8 +8871,14 @@ components:
description: description
order: 0
reasonRequired: true
lastUpdaterUserEmail: lastUpdaterUserEmail
readOnly: true
featureFlagLimitations:
maxComparisonValueListItemLength: 2
maxComparisonValueListLength: 3
maxPercentageOptionCount: 2
maxConditionPerTargetingRuleCount: 7
maxComparisonValueLength: 9
maxStringFlagValueLength: 4
maxTargetingRuleCount: 7
value: ""
integrationLinks:
- integrationLinkType: null
Expand Down Expand Up @@ -8808,17 +8914,6 @@ components:
tagId: 5
name: name
settingTagId: 5
setting:
createdAt: 2000-01-23T04:56:07.000+00:00
creatorEmail: creatorEmail
hint: hint
name: name
creatorFullName: creatorFullName
isWatching: true
settingType: null
key: key
settingId: 6
order: 1
updatedAt: 2000-01-23T04:56:07.000+00:00
lastUpdaterUserFullName: lastUpdaterUserFullName
properties:
Expand Down Expand Up @@ -8869,6 +8964,8 @@ components:
$ref: '#/components/schemas/ConfigModel'
environment:
$ref: '#/components/schemas/EnvironmentModel'
featureFlagLimitations:
$ref: '#/components/schemas/FeatureFlagLimitations'
readOnly:
type: boolean
type: object
Expand Down Expand Up @@ -8905,6 +9002,8 @@ components:
type: string
_embedded:
$ref: '#/components/schemas/SettingFormulaModel_haljson__embedded'
featureFlagLimitations:
$ref: '#/components/schemas/FeatureFlagLimitations'
readOnly:
type: boolean
_links:
Expand Down Expand Up @@ -10012,8 +10111,8 @@ components:
description: The comparison operator the evaluation process must use when it
compares the given user attribute's value with the comparison value.
enum:
- contains
- doesNotContain
- containsAnyOf
- doesNotContainAnyOf
- semVerIsOneOf
- semVerIsNotOneOf
- semVerLess
Expand All @@ -10032,10 +10131,10 @@ components:
- dateTimeAfter
- sensitiveTextEquals
- sensitiveTextDoesNotEqual
- sensitiveTextStartsWith
- sensitiveTextNotStartsWith
- sensitiveTextEndsWith
- sensitiveTextNotEndsWith
- sensitiveTextStartsWithAnyOf
- sensitiveTextNotStartsWithAnyOf
- sensitiveTextEndsWithAnyOf
- sensitiveTextNotEndsWithAnyOf
- arrayContains
- arrayDoesNotContain
type: string
Expand Down Expand Up @@ -10108,8 +10207,6 @@ components:
type: boolean
stringValue:
description: The served value in case of a text Setting.
maxLength: 100000
minLength: 0
nullable: true
type: string
intValue:
Expand Down
2 changes: 0 additions & 2 deletions docs/AuditLogType.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@

* `WEB_HOOK_DELETED` (value: `"webHookDeleted"`)

* `SUBSCRIPTION_CHANGED` (value: `"subscriptionChanged"`)

* `PERMISSION_GROUP_CREATED` (value: `"permissionGroupCreated"`)

* `PERMISSION_GROUP_CHANGED` (value: `"permissionGroupChanged"`)
Expand Down
26 changes: 26 additions & 0 deletions docs/ConfigSettingFormulasModel.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**Environment** | Pointer to [**EnvironmentModel**](EnvironmentModel.md) | | [optional]
**ReadOnly** | Pointer to **bool** | | [optional]
**SettingFormulas** | Pointer to [**[]ConfigSettingFormulaModel**](ConfigSettingFormulaModel.md) | Evaluation descriptors of each updated Feature Flag and Setting. | [optional]
**FeatureFlagLimitations** | Pointer to [**FeatureFlagLimitations**](FeatureFlagLimitations.md) | | [optional]

## Methods

Expand Down Expand Up @@ -138,6 +139,31 @@ HasSettingFormulas returns a boolean if a field has been set.
`func (o *ConfigSettingFormulasModel) UnsetSettingFormulas()`

UnsetSettingFormulas ensures that no value is present for SettingFormulas, not even an explicit nil
### GetFeatureFlagLimitations

`func (o *ConfigSettingFormulasModel) GetFeatureFlagLimitations() FeatureFlagLimitations`

GetFeatureFlagLimitations returns the FeatureFlagLimitations field if non-nil, zero value otherwise.

### GetFeatureFlagLimitationsOk

`func (o *ConfigSettingFormulasModel) GetFeatureFlagLimitationsOk() (*FeatureFlagLimitations, bool)`

GetFeatureFlagLimitationsOk returns a tuple with the FeatureFlagLimitations field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetFeatureFlagLimitations

`func (o *ConfigSettingFormulasModel) SetFeatureFlagLimitations(v FeatureFlagLimitations)`

SetFeatureFlagLimitations sets FeatureFlagLimitations field to given value.

### HasFeatureFlagLimitations

`func (o *ConfigSettingFormulasModel) HasFeatureFlagLimitations() bool`

HasFeatureFlagLimitations returns a boolean if a field has been set.


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
Loading

0 comments on commit 54026a0

Please sign in to comment.