mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 20:59:05 +00:00
Migrate to openapi-ts generator
This commit is contained in:
32
www/app/api/schemas/$UserInfo.ts
Normal file
32
www/app/api/schemas/$UserInfo.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
export const $UserInfo = {
|
||||
properties: {
|
||||
sub: {
|
||||
type: "string",
|
||||
isRequired: true,
|
||||
},
|
||||
email: {
|
||||
type: "any-of",
|
||||
contains: [
|
||||
{
|
||||
type: "string",
|
||||
},
|
||||
{
|
||||
type: "null",
|
||||
},
|
||||
],
|
||||
isRequired: true,
|
||||
},
|
||||
email_verified: {
|
||||
type: "any-of",
|
||||
contains: [
|
||||
{
|
||||
type: "boolean",
|
||||
},
|
||||
{
|
||||
type: "null",
|
||||
},
|
||||
],
|
||||
isRequired: true,
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
Reference in New Issue
Block a user