fixup api gen ts + add bruno requests

This commit is contained in:
2025-04-21 09:28:52 +02:00
parent 58ef6ecbd7
commit baed702980
5 changed files with 40 additions and 26 deletions

View File

@@ -422,10 +422,9 @@ export interface components {
mothers_last_name: string;
};
Person: {
id?: number;
labels?: string[];
type?: string | null;
properties?: components["schemas"]["PersonProperties"];
Id?: number;
Labels?: string[];
Props?: components["schemas"]["PersonProperties"];
};
FamilyRelationship: {
verified?: boolean | null;
@@ -436,12 +435,12 @@ export interface components {
to?: string | null;
};
Relationship: {
id?: number;
label?: string;
type?: string | null;
start?: number;
end?: number;
properties?: components["schemas"]["FamilyRelationship"];
Id?: number;
Label?: string;
Type?: string | null;
Start?: number;
End?: number;
Props?: components["schemas"]["FamilyRelationship"];
};
OptimizedPersonNode: {
id?: number;
@@ -482,16 +481,16 @@ export interface components {
}[] | null;
};
Recipe: {
id?: number;
labels?: string[];
properties?: components["schemas"]["RecipeProperties"];
Id?: number;
Labels?: string[];
Props?: components["schemas"]["RecipeProperties"];
};
Likes: {
id?: number;
label?: string;
start?: string;
end?: string;
properties?: components["schemas"]["LikesProperties"];
Id?: number;
Label?: string;
Start?: string;
End?: string;
Props?: components["schemas"]["LikesProperties"];
};
LikesProperties: {
favourite?: boolean | null;
@@ -499,11 +498,11 @@ export interface components {
could_make_it?: boolean | null;
};
Admin: {
id?: number;
label?: string;
start?: string;
end?: string;
properties?: {
Id?: number;
Label?: string;
Start?: string;
End?: string;
Props?: {
added?: number;
};
};

View File

@@ -11,8 +11,9 @@ post {
}
headers {
X-User-Id: 1
X-User-Id: 2
X-User-Name: Alice Wonderland
Content-Type: application/json
}
body:json {

View File

@@ -6,7 +6,7 @@ meta {
patch {
url: http://localhost:8080/person/{{id}}
body: none
body: json
auth: inherit
}
@@ -14,6 +14,12 @@ headers {
X-User-Id: 2
}
body:json {
{
"invite_code": "test-invite-code"
}
}
vars:pre-request {
id: 10
}

View File

@@ -5,7 +5,7 @@ meta {
}
delete {
url: http://localhost:8080/person/{{id}}
url: http://localhost:8080/person/{{id}}/hard-delete
body: none
auth: inherit
}

View File

@@ -9,3 +9,11 @@ delete {
body: none
auth: inherit
}
headers {
X-User-Id: 2
}
vars:pre-request {
id: 10
}