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:
61
vue3/src/openapi/models/IngredientString.ts
Normal file
61
vue3/src/openapi/models/IngredientString.ts
Normal file
@@ -0,0 +1,61 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Tandoor
|
||||
* Tandoor API Docs
|
||||
*
|
||||
* The version of the OpenAPI document: 0.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface IngredientString
|
||||
*/
|
||||
export interface IngredientString {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof IngredientString
|
||||
*/
|
||||
text: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the IngredientString interface.
|
||||
*/
|
||||
export function instanceOfIngredientString(value: object): boolean {
|
||||
if (!('text' in value)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
export function IngredientStringFromJSON(json: any): IngredientString {
|
||||
return IngredientStringFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function IngredientStringFromJSONTyped(json: any, ignoreDiscriminator: boolean): IngredientString {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'text': json['text'],
|
||||
};
|
||||
}
|
||||
|
||||
export function IngredientStringToJSON(value?: IngredientString | null): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
|
||||
'text': value['text'],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user