mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
a607dea284
* OAS for client-api metrics.ts * Fix PR comments * Fix PR comments * Fix test * Renamed and synced with proxy * Renamed and synced with proxy * Renamed and synced with proxy * add tests * Update python.md Revert doc * added 400 response, more tests * PR comment * PR comment
10 lines
284 B
TypeScript
10 lines
284 B
TypeScript
import { FromSchema } from 'json-schema-to-ts';
|
|
|
|
export const dateSchema = {
|
|
$id: '#/components/schemas/dateSchema',
|
|
oneOf: [{ type: 'string', format: 'date-time' }, { type: 'number' }],
|
|
components: {},
|
|
} as const;
|
|
|
|
export type DateSchema = FromSchema<typeof dateSchema>;
|