@furystack/rest-service
Version:
Repository implementation for FuryStack
37 lines • 944 B
TypeScript
/**
* example string literal type - needed for Typescipt Generics
*/
export type Language = 'en' | 'hu' | 'de' | 'all';
/**
* example object type - needed for TypeScipt Generics
*/
export interface BodyParameters {
gender?: 'MALE' | 'FEMALE';
age?: string;
}
/**
* Example Schema Definition - can be generated from the example types above with ts-json-schema-generator
*/
export declare const exampleSchema: {
$schema: string;
definitions: {
BodyParameters: {
additionalProperties: boolean;
properties: {
age: {
type: string;
};
gender: {
enum: string[];
type: string;
};
};
type: string;
};
Language: {
enum: string[];
type: string;
};
};
};
//# sourceMappingURL=validate-examples.d.ts.map