1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00
unleash.unleash/src/lib/openapi/spec/create-invited-user-schema.ts

28 lines
620 B
TypeScript
Raw Normal View History

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