mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 12:49:02 -05:00
no longer split schema in request/response
This commit is contained in:
@@ -65,13 +65,13 @@ export interface PatchedProperty {
|
||||
* @type {number}
|
||||
* @memberof PatchedProperty
|
||||
*/
|
||||
readonly id?: number;
|
||||
id?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @type {number}
|
||||
* @memberof PatchedProperty
|
||||
*/
|
||||
propertyAmount?: string;
|
||||
propertyAmount?: number;
|
||||
/**
|
||||
*
|
||||
* @type {PropertyType}
|
||||
@@ -109,6 +109,7 @@ export function PatchedPropertyToJSON(value?: PatchedProperty | null): any {
|
||||
}
|
||||
return {
|
||||
|
||||
'id': value['id'],
|
||||
'property_amount': value['propertyAmount'],
|
||||
'property_type': PropertyTypeToJSON(value['propertyType']),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user