Skip to content

Commit a3e443c

Browse files
committed
settingType
1 parent 18bb2eb commit a3e443c

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

model_setting_data_model_ext.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*
2+
* ConfigCat Public Management API
3+
*
4+
* **Base API URL**: https://api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). <!-- ReDoc-Inject: <security-definitions> --> # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
5+
*
6+
* API version: v1
7+
* Contact: support@configcat.com
8+
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
9+
*/
10+
package configcatpublicapi
11+
12+
type SettingDataModelSimple struct {
13+
SettingType *SettingType `json:"settingType,omitempty"`
14+
}

model_setting_value_model_ext.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
package configcatpublicapi
1111

1212
type SettingValueSimpleModel struct {
13-
Setting *SettingDataModel `json:"setting,omitempty"`
13+
Setting *SettingDataModelSimple `json:"setting,omitempty"`
1414
// The targeting rule collection.
1515
RolloutRules []RolloutRuleModel `json:"rolloutRules,omitempty"`
1616
// The percentage rule collection.

0 commit comments

Comments
 (0)