From 2629705501af827fc2775088b7c913f06c5418a0 Mon Sep 17 00:00:00 2001 From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com> Date: Fri, 1 Aug 2025 10:50:03 +0200 Subject: [PATCH] chore: re-generate openapi (#10450) Update documentation to replace 'server-side' with 'backend' in API schemas --- frontend/src/openapi/models/bulkRegistrationSchema.ts | 2 +- frontend/src/openapi/models/clientFeaturesSchema.ts | 2 +- frontend/src/openapi/models/edgeTokenSchema.ts | 4 ++-- frontend/src/openapi/models/edgeTokenSchemaType.ts | 2 +- frontend/src/openapi/models/resourceLimitsSchema.ts | 2 +- frontend/src/openapi/models/unknownFlagSchema.ts | 2 +- frontend/src/openapi/models/unknownFlagsResponseSchema.ts | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/openapi/models/bulkRegistrationSchema.ts b/frontend/src/openapi/models/bulkRegistrationSchema.ts index 3110bb3eee..8cf785592f 100644 --- a/frontend/src/openapi/models/bulkRegistrationSchema.ts +++ b/frontend/src/openapi/models/bulkRegistrationSchema.ts @@ -8,7 +8,7 @@ import type { BulkRegistrationSchemaSdkType } from './bulkRegistrationSchemaSdkT import type { DateSchema } from './dateSchema.js'; /** - * An application registration. Defines the format POSTed by our server-side SDKs when they're starting up + * An application registration. Defines the format POSTed by our backend SDKs when they're starting up */ export interface BulkRegistrationSchema { /** The name of the application that is evaluating toggles */ diff --git a/frontend/src/openapi/models/clientFeaturesSchema.ts b/frontend/src/openapi/models/clientFeaturesSchema.ts index b8292922fe..ecd38812a8 100644 --- a/frontend/src/openapi/models/clientFeaturesSchema.ts +++ b/frontend/src/openapi/models/clientFeaturesSchema.ts @@ -8,7 +8,7 @@ import type { ClientFeaturesQuerySchema } from './clientFeaturesQuerySchema.js'; import type { ClientSegmentSchema } from './clientSegmentSchema.js'; /** - * Configuration data for server-side SDKs for evaluating feature flags. + * Configuration data for backend SDKs for evaluating feature flags. */ export interface ClientFeaturesSchema { /** A list of feature flags with their configuration */ diff --git a/frontend/src/openapi/models/edgeTokenSchema.ts b/frontend/src/openapi/models/edgeTokenSchema.ts index c4a094112e..2028237530 100644 --- a/frontend/src/openapi/models/edgeTokenSchema.ts +++ b/frontend/src/openapi/models/edgeTokenSchema.ts @@ -6,13 +6,13 @@ import type { EdgeTokenSchemaType } from './edgeTokenSchemaType.js'; /** - * A representation of a client token, limiting access to [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens) (used by serverside SDKs) or [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#frontend-tokens) (used by proxy SDKs) + * A representation of a client token, limiting access to [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#backend-tokens) (used by serverside SDKs) or [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#frontend-tokens) (used by proxy SDKs) */ export interface EdgeTokenSchema { /** The list of projects this token has access to. If the token has access to specific projects they will be listed here. If the token has access to all projects it will be represented as [`*`] */ projects: string[]; /** The actual token value. [Unleash API tokens](https://docs.getunleash.io/reference/api-tokens-and-client-keys) are comprised of three parts. :.randomcharacters */ token: string; - /** The [API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys)'s **type**. Unleash supports three different types of API tokens ([ADMIN](https://docs.getunleash.io/reference/api-tokens-and-client-keys#admin-tokens), [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens), [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#frontend-tokens)). They all have varying access, so when validating a token it's important to know what kind you're dealing with */ + /** The [API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys)'s **type**. Unleash supports three different types of API tokens ([ADMIN](https://docs.getunleash.io/reference/api-tokens-and-client-keys#admin-tokens), [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#backend-tokens), [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#frontend-tokens)). They all have varying access, so when validating a token it's important to know what kind you're dealing with */ type: EdgeTokenSchemaType; } diff --git a/frontend/src/openapi/models/edgeTokenSchemaType.ts b/frontend/src/openapi/models/edgeTokenSchemaType.ts index c962d9429a..22aa8e3741 100644 --- a/frontend/src/openapi/models/edgeTokenSchemaType.ts +++ b/frontend/src/openapi/models/edgeTokenSchemaType.ts @@ -5,7 +5,7 @@ */ /** - * The [API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys)'s **type**. Unleash supports three different types of API tokens ([ADMIN](https://docs.getunleash.io/reference/api-tokens-and-client-keys#admin-tokens), [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens), [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#frontend-tokens)). They all have varying access, so when validating a token it's important to know what kind you're dealing with + * The [API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys)'s **type**. Unleash supports three different types of API tokens ([ADMIN](https://docs.getunleash.io/reference/api-tokens-and-client-keys#admin-tokens), [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#backend-tokens), [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#frontend-tokens)). They all have varying access, so when validating a token it's important to know what kind you're dealing with */ export type EdgeTokenSchemaType = (typeof EdgeTokenSchemaType)[keyof typeof EdgeTokenSchemaType]; diff --git a/frontend/src/openapi/models/resourceLimitsSchema.ts b/frontend/src/openapi/models/resourceLimitsSchema.ts index f1cb18f695..b4afa0473b 100644 --- a/frontend/src/openapi/models/resourceLimitsSchema.ts +++ b/frontend/src/openapi/models/resourceLimitsSchema.ts @@ -17,7 +17,7 @@ export interface ResourceLimitsSchema { /** The maximum number of action set definitions per project allowed. */ actionSetsPerProject: number; /** - * The maximum number of SDK and admin API tokens you can have at the same time. This limit applies only to server-side and client-side SDK tokens and to admin tokens. Personal access tokens are not subject to this limit. The limit applies to the total number of tokens across all projects in your organization. + * The maximum number of SDK and admin API tokens you can have at the same time. This limit applies only to backend and frontend SDK tokens and to admin tokens. Personal access tokens are not subject to this limit. The limit applies to the total number of tokens across all projects in your organization. * @minimum 0 */ apiTokens: number; diff --git a/frontend/src/openapi/models/unknownFlagSchema.ts b/frontend/src/openapi/models/unknownFlagSchema.ts index 7f20b818b8..61f936c251 100644 --- a/frontend/src/openapi/models/unknownFlagSchema.ts +++ b/frontend/src/openapi/models/unknownFlagSchema.ts @@ -5,7 +5,7 @@ */ /** - * An unknown flag that has been reported by the system + * An unknown flag report */ export interface UnknownFlagSchema { /** The name of the application that reported the unknown flag. */ diff --git a/frontend/src/openapi/models/unknownFlagsResponseSchema.ts b/frontend/src/openapi/models/unknownFlagsResponseSchema.ts index dede3d71af..cffc075998 100644 --- a/frontend/src/openapi/models/unknownFlagsResponseSchema.ts +++ b/frontend/src/openapi/models/unknownFlagsResponseSchema.ts @@ -6,7 +6,7 @@ import type { UnknownFlagSchema } from './unknownFlagSchema.js'; /** - * A list of unknown flags that have been reported by the system + * A list of unknown flag reports */ export interface UnknownFlagsResponseSchema { /** The list of recently reported unknown flags. */