mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-12 22:09:07 +02:00
update api
This commit is contained in:
@@ -2557,20 +2557,16 @@
|
||||
"Person": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"Id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"labels": {
|
||||
"Labels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"properties": {
|
||||
"Props": {
|
||||
"$ref": "#/components/schemas/PersonProperties"
|
||||
}
|
||||
}
|
||||
@@ -2601,23 +2597,23 @@
|
||||
"Relationship": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"Id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"label": {
|
||||
"Label": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"Type": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"start": {
|
||||
"Start": {
|
||||
"type": "integer"
|
||||
},
|
||||
"end": {
|
||||
"End": {
|
||||
"type": "integer"
|
||||
},
|
||||
"properties": {
|
||||
"Props": {
|
||||
"$ref": "#/components/schemas/FamilyRelationship"
|
||||
}
|
||||
}
|
||||
@@ -2767,16 +2763,16 @@
|
||||
"Recipe": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"Id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"labels": {
|
||||
"Labels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"Props": {
|
||||
"$ref": "#/components/schemas/RecipeProperties"
|
||||
}
|
||||
}
|
||||
@@ -2784,19 +2780,19 @@
|
||||
"Likes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"Id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"label": {
|
||||
"Label": {
|
||||
"type": "string"
|
||||
},
|
||||
"start": {
|
||||
"Start": {
|
||||
"type": "string"
|
||||
},
|
||||
"end": {
|
||||
"End": {
|
||||
"type": "string"
|
||||
},
|
||||
"properties": {
|
||||
"Props": {
|
||||
"$ref": "#/components/schemas/LikesProperties"
|
||||
}
|
||||
}
|
||||
@@ -2821,19 +2817,19 @@
|
||||
"Admin":{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"Id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"label": {
|
||||
"Label": {
|
||||
"type": "string"
|
||||
},
|
||||
"start": {
|
||||
"Start": {
|
||||
"type": "string"
|
||||
},
|
||||
"end": {
|
||||
"End": {
|
||||
"type": "string"
|
||||
},
|
||||
"properties": {
|
||||
"Props": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"added": {
|
||||
|
@@ -285,7 +285,7 @@ export interface paths {
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/recipe/{recipeId}/relationship": {
|
||||
"/recipe/{id}/relationship": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
@@ -1828,7 +1828,7 @@ export interface operations {
|
||||
"X-User-ID": number;
|
||||
};
|
||||
path: {
|
||||
recipeId: number;
|
||||
id: number;
|
||||
};
|
||||
cookie?: never;
|
||||
};
|
||||
@@ -1896,7 +1896,7 @@ export interface operations {
|
||||
"X-User-ID": number;
|
||||
};
|
||||
path: {
|
||||
recipeId: number;
|
||||
id: number;
|
||||
};
|
||||
cookie?: never;
|
||||
};
|
||||
|
Reference in New Issue
Block a user