mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-06 00:07:44 +01:00
e875e67d24
* open api implementation - client features controller * open api implementation - client features controller * bug fix * test fix * PR comments * OAS for client-api metrics.ts * Refactoring * Refactoring * bug fix * fix PR comments * PR comment * PR comment
40 lines
896 B
TypeScript
40 lines
896 B
TypeScript
import { FromSchema } from 'json-schema-to-ts';
|
|
|
|
export const clientFeaturesQuerySchema = {
|
|
$id: '#/components/schemas/clientFeaturesQuerySchema',
|
|
type: 'object',
|
|
required: [],
|
|
additionalProperties: false,
|
|
properties: {
|
|
tag: {
|
|
type: 'array',
|
|
items: {
|
|
type: 'array',
|
|
items: {
|
|
type: 'string',
|
|
},
|
|
},
|
|
},
|
|
project: {
|
|
type: 'array',
|
|
items: {
|
|
type: 'string',
|
|
},
|
|
},
|
|
namePrefix: {
|
|
type: 'string',
|
|
},
|
|
environment: {
|
|
type: 'string',
|
|
},
|
|
inlineSegmentConstraints: {
|
|
type: 'boolean',
|
|
},
|
|
},
|
|
components: {},
|
|
} as const;
|
|
|
|
export type ClientFeaturesQuerySchema = FromSchema<
|
|
typeof clientFeaturesQuerySchema
|
|
>;
|