mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-09 00:18:26 +01:00
## About the changes Fix OpenAPI definitions for endpoint `/api/admin/projects/{projectId}/features/{featureName}/environments/{environment}` and similar.
14 lines
369 B
TypeScript
14 lines
369 B
TypeScript
import { FromSchema } from 'json-schema-to-ts';
|
|
|
|
export const parametersSchema = {
|
|
$id: '#/components/schemas/parametersSchema',
|
|
type: 'object',
|
|
description: 'A list of parameters for a strategy',
|
|
additionalProperties: {
|
|
type: 'string',
|
|
},
|
|
components: {},
|
|
} as const;
|
|
|
|
export type ParametersSchema = FromSchema<typeof parametersSchema>;
|