1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00
unleash.unleash/src/lib/openapi/spec/change-password-schema.ts

20 lines
480 B
TypeScript
Raw Normal View History

import { FromSchema } from 'json-schema-to-ts';
export const changePasswordSchema = {
$id: '#/components/schemas/changePasswordSchema',
type: 'object',
additionalProperties: false,
required: ['token', 'password'],
properties: {
token: {
type: 'string',
},
password: {
type: 'string',
},
},
components: {},
} as const;
export type ChangePasswordSchema = FromSchema<typeof changePasswordSchema>;