little-lighter-38371
01/29/2024, 5:50 PMlittle-lighter-38371
01/29/2024, 6:49 PMrhythmic-agent-34208
01/30/2024, 1:07 AMrhythmic-agent-34208
01/30/2024, 1:17 AMgrowthbook.setAttributes({
id: "123",
email: "<mailto:hello@growthbook.io|hello@growthbook.io>",
country: "US",
url: window.location.href,
userAgent: navigator.userAgent,
admin: true,
age: 50,
});
little-lighter-38371
02/19/2024, 8:51 AMHi Bogdan, could you send some screenshots of the specific errors you’re seeing?
docker run --rm \
-v /docs:/local openapitools/openapi-generator-cli generate \
-i /local/growthbook-openapi.yaml \
-g typescript-node --skip-validate-spec \
-o /local/growthbook-openapi
Exception in thread "main" org.openapitools.codegen.SpecValidationException: There were issues with the specification. The option can be disabled via validateSpec (Maven/Gradle) or --skip-validate-spec (CLI).
| Error count: 62, Warning count: 7
Errors:
-attribute paths.'/sdk-connections/{id}'(get).responses.200.description is missing
-attribute paths.'/experiments/{id}/results'(get).responses.200.description is missing
-attribute paths.'/visual-changesets/{id}/visual-change'(post).responses.200.description is missing
-attribute paths.'/metrics/{id}'(delete).responses.200.description is missing
-attribute paths.'/experiments/{id}/visual-changesets'(get).responses.200.description is missing
-attribute paths.'/saved-groups/{id}'(delete).responses.200.description is missing
-attribute paths.'/experiments/{id}/visual-changesets'(get).parameters.[id].id is unexpected
-attribute .components.schemas.VisualChangeset. is not of type `object` (#/components/schemas/VisualChangeset)
little-lighter-38371
02/19/2024, 8:52 AMlittle-lighter-38371
02/19/2024, 11:16 AMtargeting attributes have to at least be set in the Attributes section of the SDK Connection’s detail page.I want to provision attributes that can be used through UI (admin panel) (attributeSchema) I noticed that config.yaml has attributeSchema, but seems like this configuration part doesn’t work.