diff --git a/src/lib/openapi/spec/client-metrics-schema.ts b/src/lib/openapi/spec/client-metrics-schema.ts index c6d12dcb97..b8ab297bd6 100644 --- a/src/lib/openapi/spec/client-metrics-schema.ts +++ b/src/lib/openapi/spec/client-metrics-schema.ts @@ -81,7 +81,7 @@ export const clientMetricsSchema = { }, variants: { description: - 'How many times each variant was returned', + 'An object describing how many times each variant was returned. Variant names are used as properties, and the number of times they were exposed is the corresponding value (i.e. `{ [variantName]: number }`).', type: 'object', additionalProperties: { type: 'integer', diff --git a/src/test/e2e/api/openapi/__snapshots__/openapi.e2e.test.ts.snap b/src/test/e2e/api/openapi/__snapshots__/openapi.e2e.test.ts.snap index 6f6f2f231e..99f6de426b 100644 --- a/src/test/e2e/api/openapi/__snapshots__/openapi.e2e.test.ts.snap +++ b/src/test/e2e/api/openapi/__snapshots__/openapi.e2e.test.ts.snap @@ -1540,7 +1540,7 @@ The provider you choose for your addon dictates what properties the \`parameters "minimum": 0, "type": "integer", }, - "description": "How many times each variant was returned", + "description": "An object describing how many times each variant was returned. Variant names are used as properties, and the number of times they were exposed is the corresponding value (i.e. \`{ [variantName]: number }\`).", "example": { "variantA": 15, "variantB": 25,