Skip to content

Commit

Permalink
update openapi.json & openapi-ts client
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 20, 2024
1 parent d357b87 commit 44bb6fe
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
22 changes: 22 additions & 0 deletions frontend/src/lib/client/schemas.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,17 @@ export const ChildCreateSchema = {
birth_month: {
type: 'integer',
title: 'Birth Month'
},
color: {
anyOf: [
{
type: 'string'
},
{
type: 'null'
}
],
title: 'Color'
}
},
type: 'object',
Expand All @@ -224,6 +235,17 @@ export const ChildPublicSchema = {
type: 'integer',
title: 'Birth Month'
},
color: {
anyOf: [
{
type: 'string'
},
{
type: 'null'
}
],
title: 'Color'
},
id: {
type: 'integer',
title: 'Id'
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/lib/client/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,14 @@ export type ChildCreate = {
name?: string;
birth_year: number;
birth_month: number;
color?: (string | null);
};

export type ChildPublic = {
name?: string;
birth_year: number;
birth_month: number;
color?: (string | null);
id: number;
has_image: boolean;
};
Expand Down
2 changes: 1 addition & 1 deletion mondey_backend/openapi.json

Large diffs are not rendered by default.

0 comments on commit 44bb6fe

Please sign in to comment.